Jelajahi Sumber

do not install RVM by default

Andrew Cantino 12 tahun lalu
induk
melakukan
4df86854aa
1 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 6 6
      config/deploy.rb

+ 6 - 6
config/deploy.rb

@@ -6,15 +6,11 @@ set :user, "you"
 set :use_sudo, false
 set :rails_env, "production" #added for delayed job
 set :scm, :git
-set :repository, "git@github.com:you/huginn.git"
+set :repository, "git@github.com:you/huginn-private.git"
 set :branch, "master"
 set :deploy_via, :remote_cache
 set :keep_releases, 5
 
-# If you want to use rvm on the server:
-set :rvm_ruby_string, '1.9.3-p286@huginn'
-set :rvm_type, :user
-
 set :bundle_without, [:development]
 set :unicorn_pid, "#{shared_path}/pids/unicorn.pid"
 
@@ -41,10 +37,14 @@ after "deploy:restart", "delayed_job:restart"
 #
 #   set :delayed_job_args, "-n 2"
 
+# If you want to use rvm on the server:
+# set :rvm_ruby_string, '1.9.3-p286@huginn'
+# set :rvm_type, :user
+# require "rvm/capistrano"
+
 # Load Capistrano additions
 Dir[File.expand_path("../../lib/capistrano/*.rb", __FILE__)].each{|f| load f }
 
-require "rvm/capistrano"
 require "bundler/capistrano"
 require "capistrano-unicorn"
 require "delayed/recipes"