Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

defaulting rails environment to match stage name

  • Loading branch information...
commit 042e7d9cb59c9dced0b0063eebebf316ba20fbef 1 parent 30a942c
@d018a502 d018a502 authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.