Last Updated: February 25, 2016
· 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

1 Response
Add your response


over 1 year ago ·