File tree 6 files changed +4
-43
lines changed
6 files changed +4
-43
lines changed Original file line number Diff line number Diff line change 2
2
3
3
require 'mina/rails'
4
4
require 'mina/git'
5
-
6
- # Install https://github.com/mina-deploy/mina-version_managers for rbenv and rvm tasks
7
- # require 'mina/version_managers/rbenv' # for rbenv support. (https://rbenv.org)
8
- # require 'mina/version_managers/rvm' # for rvm support. (https://rvm.io)
5
+ # require 'mina/rbenv' # for rbenv support. (https://rbenv.org)
6
+ # require 'mina/rvm' # for rvm support. (https://rvm.io)
9
7
10
8
# Basic settings:
11
9
# domain - The hostname to SSH to.
Original file line number Diff line number Diff line change @@ -35,9 +35,8 @@ set :deploy_to, '/var/www/flipstack.com'
35
35
require 'mina/bundler'
36
36
require 'mina/rails'
37
37
require 'mina/git'
38
- # Install https://github.com/mina-deploy/mina-version_managers for rbenv and rvm tasks
39
- # require 'mina/version_managers/rbenv' # for rbenv support. (https://rbenv.org)
40
- # require 'mina/version_managers/rvm' # for rvm support. (https://rvm.io)
38
+ # require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
39
+ # require 'mina/rvm' # for rvm support. (http://rvm.io)
41
40
...
42
41
```
43
42
``` ruby
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- unless fetch ( :silence_deprecation_warnings )
4
- warn '[DEPRECATION] chruby support will be removed from Mina in v2.0.0.'
5
- warn '[DEPRECATION] To continue using chruby tasks, install `mina-version_managers` gem and'
6
- warn "[DEPRECATION] replace `require 'mina/chruby'` with `require 'mina/version_managers/chruby'`."
7
- warn '[DEPRECATION] See https://github.com/mina-deploy/mina-version_managers for more info.'
8
- warn '[DEPRECATION] You can silence this message by adding `set :silence_deprecation_warnings, true` to `config/deploy.rb`.'
9
- warn ''
10
- end
11
-
12
3
set :chruby_path , '/etc/profile.d/chruby.sh'
13
4
14
5
task :chruby , :env do |_ , args |
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- unless fetch ( :silence_deprecation_warnings )
4
- warn '[DEPRECATION] rbenv support will be removed from Mina in v2.0.0.'
5
- warn '[DEPRECATION] To continue using rbenv tasks, install `mina-version_managers` gem and'
6
- warn "[DEPRECATION] replace `require 'mina/rbenv'` with `require 'mina/version_managers/rbenv'`."
7
- warn '[DEPRECATION] See https://github.com/mina-deploy/mina-version_managers for more info.'
8
- warn '[DEPRECATION] You can silence this message by adding `set :silence_deprecation_warnings, true` to `config/deploy.rb`.'
9
- warn ''
10
- end
11
-
12
3
set :rbenv_path , '$HOME/.rbenv'
13
4
14
5
task :'rbenv:load' do
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- unless fetch ( :silence_deprecation_warnings )
4
- warn '[DEPRECATION] RVM support will be removed from Mina in v2.0.0.'
5
- warn '[DEPRECATION] To continue using RVM tasks, install `mina-version_managers` gem and'
6
- warn "[DEPRECATION] replace `require 'mina/rvm'` with `require 'mina/version_managers/rvm'`."
7
- warn '[DEPRECATION] See https://github.com/mina-deploy/mina-version_managers for more info.'
8
- warn '[DEPRECATION] You can silence this message by adding `set :silence_deprecation_warnings, true` to `config/deploy.rb`.'
9
- warn ''
10
- end
11
-
12
3
set :rvm_use_path , '$HOME/.rvm/scripts/rvm'
13
4
14
5
task :'rvm:use' , :env do |_ , args |
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- unless fetch ( :silence_deprecation_warnings )
4
- warn '[DEPRECATION] ry support will be removed from Mina in v2.0.0.'
5
- warn '[DEPRECATION] To continue using ry tasks, install `mina-version_managers` gem and'
6
- warn "[DEPRECATION] replace `require 'mina/ry'` with `require 'mina/version_managers/ry'`."
7
- warn '[DEPRECATION] See https://github.com/mina-deploy/mina-version_managers for more info.'
8
- warn '[DEPRECATION] You can silence this message by adding `set :silence_deprecation_warnings, true` to `config/deploy.rb`.'
9
- warn ''
10
- end
11
-
12
3
set :ry_path , '$HOME/.local'
13
4
14
5
task :ry , :env do |_ , args |
You can’t perform that action at this time.
0 commit comments