Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Add a chruby_prefix command Jun 11, 2014
.gitignore Conflict merge Aug 12, 2013
CHANGELOG.md Preparing for 0.1.2 Jun 21, 2014
Gemfile Initial commit Aug 12, 2013
LICENSE.txt Add MIT license Feb 2, 2018
README.md Preparing for 0.1.2 Jun 21, 2014
Rakefile Initial commit Aug 12, 2013
capistrano-chruby.gemspec Add MIT license Feb 2, 2018

README.md

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request