Awesome
Capistrano::chruby
Installation
Add this line to your application's Gemfile:
gem 'capistrano', '~> 3.2'
gem 'capistrano-chruby'
And then execute:
$ bundle install
Usage
# Capfile
require 'capistrano/chruby'
# config/deploy.rb
set :chruby_ruby, 'ruby-2.0.0-p247'
If your chruby-exec
is located in some custom path, you can tweak chruby_exec
option to set it.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request