Skip to content
Jeremy Olliver edited this page Aug 27, 2013 · 6 revisions

Further details and examples on using easy-deployment features

Apache (passenger)

TODO

TODO

TODO

Other common deployment patterns

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
Clone this wiki locally