File tree Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ install_plugin Capistrano::SCM::Git
10
10
11
11
# additional modules
12
12
require 'capistrano/rails'
13
- require 'capistrano/rvm'
14
13
require 'capistrano/passenger'
15
14
require 'capistrano/cul'
16
15
require 'whenever/capistrano'
Original file line number Diff line number Diff line change @@ -74,11 +74,10 @@ group :development do
74
74
gem 'listen' , '~> 3.3'
75
75
76
76
# Capistrano gems for deployment
77
- gem 'capistrano' , '~> 3.17 .0' , require : false
77
+ gem 'capistrano' , '~> 3.18 .0' , require : false
78
78
gem 'capistrano-cul' , require : false
79
79
gem 'capistrano-passenger' , '~> 0.1' , require : false
80
80
gem 'capistrano-rails' , '~> 1.4' , require : false
81
- gem 'capistrano-rvm' , '~> 0.1' , require : false
82
81
83
82
# Use net-ssh >= 4.2 to prevent warnings with Ruby 2.4
84
83
gem 'net-ssh' , '>= 4.2'
Original file line number Diff line number Diff line change 76
76
i18n (>= 1.6 , < 2 )
77
77
minitest (>= 5.1 )
78
78
tzinfo (~> 2.0 )
79
- airbrussh (1.4 .0 )
79
+ airbrussh (1.5 .0 )
80
80
sshkit (>= 1.6.1 , != 1.7.0 )
81
81
ast (2.4.2 )
82
82
bcrypt_pbkdf (1.1.0 )
85
85
msgpack (~> 1.2 )
86
86
builder (3.2.4 )
87
87
byebug (11.1.3 )
88
- capistrano (3.17 .0 )
88
+ capistrano (3.18 .0 )
89
89
airbrussh (>= 1.0.0 )
90
90
i18n
91
91
rake (>= 10.0.0 )
105
105
capistrano-rails (1.6.2 )
106
106
capistrano (~> 3.1 )
107
107
capistrano-bundler (>= 1.1 , < 3 )
108
- capistrano-rvm (0.1.2 )
109
- capistrano (~> 3.0 )
110
- sshkit (~> 1.2 )
111
108
chronic (0.10.2 )
112
109
concurrent-ruby (1.1.10 )
113
110
crass (1.0.6 )
@@ -165,13 +162,13 @@ GEM
165
162
timeout
166
163
net-protocol (0.1.3 )
167
164
timeout
168
- net-scp (3 .0.0 )
169
- net-ssh (>= 2.6.5 , < 7 .0.0 )
165
+ net-scp (4 .0.0 )
166
+ net-ssh (>= 2.6.5 , < 8 .0.0 )
170
167
net-smtp (0.3.1 )
171
168
digest
172
169
net-protocol
173
170
timeout
174
- net-ssh (6.1 .0 )
171
+ net-ssh (7.2 .0 )
175
172
netrc (0.11.0 )
176
173
nio4r (2.5.8 )
177
174
nokogiri (1.15.4 )
299
296
activesupport (>= 5.2 )
300
297
sprockets (>= 3.0.0 )
301
298
sqlite3 (1.4.2 )
302
- sshkit (1.21.2 )
299
+ sshkit (1.21.5 )
303
300
net-scp (>= 1.1.2 )
304
301
net-ssh (>= 2.8.0 )
305
302
strscan (3.0.1 )
@@ -334,11 +331,10 @@ DEPENDENCIES
334
331
alexandria-zoom !
335
332
bootsnap (>= 1.1.0 )
336
333
byebug
337
- capistrano (~> 3.17 .0 )
334
+ capistrano (~> 3.18 .0 )
338
335
capistrano-cul
339
336
capistrano-passenger (~> 0.1 )
340
337
capistrano-rails (~> 1.4 )
341
- capistrano-rvm (~> 0.1 )
342
338
factory_bot_rails (~> 6.1.0 )
343
339
io-wait (= 0.2.0 )
344
340
jbuilder (~> 2.5 )
Original file line number Diff line number Diff line change 1
1
# config valid for current version and patch releases of Capistrano
2
- lock "~> 3.17 .0"
2
+ lock "~> 3.18 .0"
3
3
4
4
set :remote_user , "renserv"
5
5
set :application , 'hysync'
47
47
# Whenever gem
48
48
set :whenever_identifier , -> { "#{ fetch ( :application ) } _#{ fetch ( :stage ) } " }
49
49
50
+ [ :rake , :gem , :bundle , :ruby ] . each do |command_to_prefix_with_rvm |
51
+ SSHKit . config . command_map . prefix [ command_to_prefix_with_rvm ] . push ( "~/.rvm/bin/rvm #{ fetch ( :deploy_name ) } do" )
52
+ end
53
+
50
54
namespace :deploy do
51
55
desc "Report the environment"
52
56
task :report do
You can’t perform that action at this time.
0 commit comments