From df3fba92eda561057b0c9376f9e251fe06a6567b Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Fri, 29 Nov 2013 11:48:43 +0400 Subject: [PATCH] Don't prefix `ruby` and prefix `rails` --- CHANGELOG.md | 5 +++++ README.md | 2 +- lib/capistrano/tasks/bundler.cap | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e638359..fe327ee9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.1.1 + +* ruby is not prefixed with `bundle exec` anymore by default +* prefix rails with `bundle exec` by default + # 1.1.0 * Switching to new command map (https://github.com/capistrano/sshkit/pull/45) diff --git a/README.md b/README.md index d1dbc61a..944c229e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Configurable options, shown here with defaults: set :bundle_without, %w{development test}.join(' ') set :bundle_binstubs, -> { shared_path.join('bin') } set :bundle_roles, :all - set :bundle_bins, %w(gem rake ruby) + set :bundle_bins, %w(gem rake rails) By default, the plugin adds `bundle exec` prefix to common executables listed in `bundle_bins` option. You can add any custom executable to this list: diff --git a/lib/capistrano/tasks/bundler.cap b/lib/capistrano/tasks/bundler.cap index 7a61bee7..f552e022 100644 --- a/lib/capistrano/tasks/bundler.cap +++ b/lib/capistrano/tasks/bundler.cap @@ -47,6 +47,6 @@ namespace :load do set :bundle_without, %w{development test}.join(' ') set :bundle_binstubs, -> { shared_path.join('bin') } set :bundle_roles, :all - set :bundle_bins, %w{gem rake ruby} + set :bundle_bins, %w{gem rake rails} end end