Last Updated: February 25, 2016
·
7.539K
· alexrothenberg

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

1 Response
Add your response

awesome

over 1 year ago ·