Search code examples
rubyraspberry-pirbenv

System Ruby wins over rbenv Everytime on Raspberry Pi


enter image description here

As you may tell from the screenshot I have included. I'm trying to get rbenv ruby 2.1.2 to replace the system ruby on Raspberry pi and there's no earthly reason it should still be pointed at 1.9.3!


Solution

  • Thanks to a lot of help from @dteoh, I was finally able to ascertain how this happened.

    As it turns out, when I was doing my rbenv install 2.1.2 the process was taking so long I went to bed. I didn't put it together until the ~/.rbenv/shims was empty, but one of my digital clocks was blinking. Apparently that night I lost power in the night, which put it in some strange state.

    The fix was blowing away the Ruby version and doing another (long) but successful Ruby build.

    Thank you for your patience in this RARE but troublesome situation.