Capistrano::ry
Installation
Add this line to your application's Gemfile:
gem 'capistrano', '~> 3.0'
gem 'capistrano-ry', github: "capistrano/ry"
And then execute:
$ bundle install
Usage
# Capfile
require 'capistrano/ry'
# config/deploy.rb
set :ry_ruby, 'ruby-2.0.0-p247'
If ry is installed in a custom path (other than ~/.local), you need to override the following default variable :
# config/deploy.rb
set :ry_path, File.join("~", '.local')
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