Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #267 from monsoonrains/stage_environment

Stage environment
  • Loading branch information...
commit 2d217a8f71cdfbf8b32d25abd4fec390645bb5b8 2 parents 30a942c + 042e7d9
Roy Liu carsomyr authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/capistrano/ext/multistage.rb
1  lib/capistrano/ext/multistage.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.