Skip to content

Commit

Permalink
more RVM disabling by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cantino committed Mar 13, 2013
1 parent 19e5344 commit 922622e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
set :deploy_to, "/home/you/app"
set :user, "you"
set :use_sudo, false
set :rails_env, "production" #added for delayed job
set :scm, :git
set :rails_env, 'production'
set :repository, "[email protected]:you/huginn-private.git"
set :branch, "master"
set :deploy_via, :remote_cache
Expand All @@ -18,12 +18,9 @@

set :delayed_job_server_role, :delayed_job

set :rails_env, 'production'
set :sync_backups, 3

before 'deploy:restart', 'deploy:migrate'
before 'deploy', 'rvm:install_rvm'
before 'deploy', 'rvm:install_ruby'
after 'deploy', 'deploy:cleanup'

set :bundle_without, [:development, :test]
Expand All @@ -40,6 +37,8 @@
# If you want to use rvm on the server:
# set :rvm_ruby_string, '1.9.3-p286@huginn'
# set :rvm_type, :user
# before 'deploy', 'rvm:install_rvm'
# before 'deploy', 'rvm:install_ruby'
# require "rvm/capistrano"

# Load Capistrano additions
Expand Down

0 comments on commit 922622e

Please sign in to comment.