Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server "chicago", :app, :web, :db, :primary => true
- set :rails_env, "staging"
- set :keep_releases, 3
- # TorqueBox specific
- set :app_ruby_version, '1.9'
- set :torquebox_home, '/usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java'
- set :jboss_home, '/usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss'
- set :jruby_home, '/usr/local/rvm/rubies/jruby-1.6.7'
- set :jboss_control_style, :binscripts
- set :jruby_opts, '--1.9'
- # set path
- set :deploy_to, "/opt/app/deploy/#{application}"
- after "deploy:create_symlink", "deploy:cleanup"
- after "deploy", "rvm:trust_rvmrc"
Add Comment
Please, Sign In to add comment