Rbenv Rehash

Yesterday, I decided to switch from using RVM to Rbenv for Ruby version management. I know both have been around for years.

It is sensible decision because I don't know how to fix the current issues with RVM which are pretty serious from segmentation faults to other cryptic errors. I know it will improve over time but for now, change makes sense.

The only thing annoying about it is:

rbenv rehash

There's a need to do that every time you install a dependency.

Of course, it is less annoying with an alias:

alias rr='rbenv rehash'

But it's even better with a plugin to help you avoid doing that all the time.

I found rbenv-gem-rehash which is definitely helpful.

comments powered byDisqus

Hello! I am Kat. I've been a developer for several years. When I'm not sitting down, reading and working for long hours, I am traveling to some place of interest.
If you want to reach out, you can send me an email or add me up on Google Plus.