We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7d886b + 12ffbe9 commit d576743Copy full SHA for d576743
Capfile
@@ -16,7 +16,11 @@ require 'capistrano/deploy'
16
# https://github.com/capistrano/passenger
17
#
18
require 'capistrano/rails'
19
-require 'capistrano/rbenv'
+
20
+stage = ARGV.first
21
+if stage == :staging # Sorry, production is not ready yet
22
+ require 'capistrano/rbenv'
23
+end
24
25
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
26
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
0 commit comments