Class: Capistrano::Rbenv::SetupBundler
- Inherits:
-
Plugin
- Object
- Plugin
- Capistrano::Rbenv::SetupBundler
- Defined in:
- lib/capistrano/rbenv/setup_bundler.rb
Instance Method Summary collapse
Instance Method Details
#define_tasks ⇒ Object
3 4 5 |
# File 'lib/capistrano/rbenv/setup_bundler.rb', line 3 def define_tasks eval_rakefile File.('../tasks/setup_bundler.rake', __dir__) end |
#register_hooks ⇒ Object
7 8 9 |
# File 'lib/capistrano/rbenv/setup_bundler.rb', line 7 def register_hooks after 'rbenv:install_ruby', 'rbenv:install_bundler' end |
#set_defaults ⇒ Object
11 12 13 14 |
# File 'lib/capistrano/rbenv/setup_bundler.rb', line 11 def set_defaults # Set bundler version to use/install set_if_empty :rbenv_bundler, '2.1.4' end |