Skip to content

Commit 3acaa93

Browse files
committed
deploy:reference should use the rails_env, not the stage
Signed-off-by: Nigel Ramsay <[email protected]>
1 parent 72e70ed commit 3acaa93

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.3.3 - 2012-10-16
2+
3+
Bug Fixes
4+
5+
* deploy:reference should use the rails_env, not the stage
6+
17
0.3.0 - 2012-09-04
28

39
Enhancements:

lib/easy-deployment/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Easy
22
module Deployment
3-
VERSION = "0.3.2"
3+
VERSION = "0.3.3"
44
end
55
end

lib/easy/deployment/dbreference.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
else raise ArgumentError, "unknown migration target #{migrate_target.inspect}"
1212
end
1313

14-
run "cd #{directory} && RAILS_ENV=#{stage} bundle exec rake reference:load"
14+
run "cd #{directory} && RAILS_ENV=#{rails_env} bundle exec rake reference:load"
1515
end
1616
end
1717

0 commit comments

Comments
 (0)