From dbdf5a13ed2885610896563cbfd7df14e1c283c1 Mon Sep 17 00:00:00 2001 From: Roy Liu Date: Tue, 9 Oct 2012 12:25:43 -0400 Subject: [PATCH] Revert "defaulting rails environment to match stage name" This reverts commit 042e7d9cb59c9dced0b0063eebebf316ba20fbef. --- lib/capistrano/ext/multistage.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/capistrano/ext/multistage.rb b/lib/capistrano/ext/multistage.rb index 7014c460..758411be 100644 --- a/lib/capistrano/ext/multistage.rb +++ b/lib/capistrano/ext/multistage.rb @@ -15,7 +15,6 @@ Capistrano::Configuration.instance.load do desc "Set the target stage to `#{name}'." task(name) do set :stage, name.to_sym - set :rails_env, name load "#{location}/#{stage}" end end