-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jeremy Olliver edited this page Aug 27, 2013
·
6 revisions
Apache (passenger)
TODO
TODO
TODO
Deploying with rvm
If deploying with RVM, Add gem 'rvm-capistrano' to the development group in Gemfile, and use the following in your deploy.rb or staging.rb etc:
require "rvm/capistrano"
set :rvm_type, :system
set :rvm_ruby_string, '1.9.2-p290'
Using gem groups to limit installation of a gem in certain environments
# Gemfile
group :staging
gem 'mailcatcher'
end
# deploy.rb
set :bundle_without, defer { ["development", "staging"] + fetch(:stages) - [fetch(:stage)] } # Bundle without other stage environments