No more bundle exec with oh-my-zsh
If you use the bundler
plugin in oh-my-zsh it automatically adds bundle exec
to common ruby commands
In your ~/.zshrc look for this line
plugins=(git bundler brew gem heroku)
It creates some shell aliases
$ which rake
rake: aliased to bundled_rake
$ which rspec
rspec: aliased to bundled_rspec
It currently handles annotate cap capify cucumber foreman guard middleman nanoc rackup rainbows rails rake rspec ruby shotgun spec spork thin thor unicorn unicorn_rails
See the full list of commands at https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/bundler/bundler.plugin.zsh#L9
Written by Alex Rothenberg
Related protips
1 Response
awesome
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Bundler
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#