README.md in capistrano-rbenv-2.1.1 vs README.md in capistrano-rbenv-2.1.2
- old
+ new
@@ -12,12 +12,12 @@
## Installation
Add this line to your application's Gemfile:
- gem 'capistrano', '~> 3.1'
- gem 'capistrano-rbenv', '~> 2.0'
+ gem 'capistrano', '~> 3.9'
+ gem 'capistrano-rbenv', '~> 2.1'
And then execute:
$ bundle install
@@ -27,11 +27,11 @@
require 'capistrano/rbenv'
# config/deploy.rb
set :rbenv_type, :user # or :system, depends on your rbenv setup
- set :rbenv_ruby, '2.0.0-p247'
+ set :rbenv_ruby, '2.4.2'
# in case you want to set ruby version from the file:
# set :rbenv_ruby, File.read('.ruby-version').strip
set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec"
@@ -43,10 +43,10 @@
### Defining the ruby version
To set the Ruby version explicitly, add `:rbenv_ruby` to your Capistrano configuration:
# config/deploy.rb
- set :rbenv_ruby, '2.0.0-p247'
+ set :rbenv_ruby, '2.4.2'
Alternatively, allow the remote host's `rbenv` to [determine the appropriate Ruby version](https://github.com/rbenv/rbenv#choosing-the-ruby-version) by omitting `:rbenv_ruby`. This approach is useful if you have a `.ruby-version` file in your project.
## Contributing