87ab8771dac655272895e5904fcf93217ea4a64b

Author
Sebastian Nowak <sebastian.nowak@gmail.com>
Committer
Sebastian Nowak <sebastian.nowak@gmail.com>
Date

Message

'rails' command should not be run with bundle exec

http://blog.wyeworks.com/2011/12/27/bundle-exec-rails-executes-bundler-setup-3-times
http://yehudakatz.com/2011/05/30/gem-versioning-and-bundler-doing-it-right/

Diff

 1diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh
 2index 1ca48089e17848c3fadaa76b23566b801bd19e24..39b76ecdf9d8af6221430461b99c545bae2a804f 100644
 3--- a/plugins/bundler/bundler.plugin.zsh
 4+++ b/plugins/bundler/bundler.plugin.zsh
 5@@ -6,7 +6,7 @@ alias bu="bundle update"
 6 
 7 # The following is based on https://github.com/gma/bundler-exec
 8 
 9-bundled_commands=(annotate cap capify cucumber foreman guard middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails)
10+bundled_commands=(annotate cap capify cucumber foreman guard middleman nanoc rackup rainbows rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails)
11 
12 ## Functions
13