Browse files

Merge pull request #267 from monsoonrains/stage_environment

Stage environment
  • Loading branch information...
2 parents 30a942c + 042e7d9 commit 2d217a8f71cdfbf8b32d25abd4fec390645bb5b8 @carsomyr carsomyr committed Sep 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/capistrano/ext/multistage.rb
View
1 lib/capistrano/ext/multistage.rb
@@ -15,6 +15,7 @@
desc "Set the target stage to `#{name}'."
task(name) do
set :stage, name.to_sym
+ set :rails_env, name
load "#{location}/#{stage}"
end
end

0 comments on commit 2d217a8

Please sign in to comment.