Rbnv rehash and bundle at the same time
If you're like me and always forget to call rbenv rehash
after bundling new gems, add this command to your .(bash|zsh)rc file
alias bundle='\bundle && rbenv rehash'
This way, you'll never be left wondering, "Why isn't that new gem working" ever again.
Written by David Kormushoff
Related protips
1 Response

Gem approach: https://github.com/sstephenson/rbenv-gem-rehash
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#