README.md in capistrano-rbenv-2.0.4 vs README.md in capistrano-rbenv-2.1.0
- old
+ new
@@ -38,9 +38,18 @@
set :rbenv_map_bins, %w{rake gem bundle ruby rails}
set :rbenv_roles, :all # default value
If your rbenv is located in some custom path, you can use `rbenv_custom_path` to set it.
+### 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'
+
+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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)