diff --git a/Capfile b/Capfile index 0f81c1684..908a94efd 100644 --- a/Capfile +++ b/Capfile @@ -16,7 +16,11 @@ require 'capistrano/deploy' # https://github.com/capistrano/passenger # require 'capistrano/rails' -require 'capistrano/rbenv' + +stage = ARGV.first +if stage == :staging # Sorry, production is not ready yet + require 'capistrano/rbenv' +end # Load custom tasks from `lib/capistrano/tasks` if you have any defined Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }