This repository was archived by the owner on Jun 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ require 'capistrano/deploy'
66
77require 'capistrano/rails'
88require 'capistrano/rvm'
9+ #require 'capistrano/rbenv'
910require 'capistrano/rails/collection'
1011
1112# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ group :test do
4747 gem 'faker'
4848end
4949
50- # Deployment
51- group :deployment do
50+ group :development do
5251 gem 'capistrano'
5352 gem 'capistrano-rails'
5453 gem 'capistrano-passenger'
5554 gem 'capistrano-rvm'
55+ gem 'capistrano-rbenv'
5656 gem 'capistrano-rails-collection'
5757end
5858
Original file line number Diff line number Diff line change 6161 capistrano-bundler (~> 1.1 )
6262 capistrano-rails-collection (0.0.3 )
6363 capistrano-rails (~> 1.1.0 )
64+ capistrano-rbenv (2.0.3 )
65+ capistrano (~> 3.1 )
66+ sshkit (~> 1.3 )
6467 capistrano-rvm (0.1.2 )
6568 capistrano (~> 3.0 )
6669 sshkit (~> 1.2 )
@@ -267,6 +270,7 @@ DEPENDENCIES
267270 capistrano-passenger
268271 capistrano-rails
269272 capistrano-rails-collection
273+ capistrano-rbenv
270274 capistrano-rvm
271275 coffee-rails (~> 4.0.0 )
272276 coveralls
Original file line number Diff line number Diff line change 66 }
77
88set :rails_env , 'production'
9- set :default_environment , { 'RAILS_RELATIVE_URL_ROOT' => '/game' }
9+ set :rbenv_type , :system
10+ set :rbenv_ruby , File . read ( '.ruby-version' ) . strip
You can’t perform that action at this time.
0 commit comments