When I try to run rails console
it blows up and gives me this error:
Referenced from: /Users/masonry/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
Reason: image not found - /Users/masonry/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
Unfortunately, reinstalling and relinking readline with homebrew does not do the trick for me.
I've tried including rb-readline
in my Gemfile but still not working.
The only way to fix this problem is to completely nuke ruby and reinstall... which takes a long time and is tedious.
I have a suspicion that the source of this problem may be that my gems are being installed to an incorrect directory. Here's where they are being installed:
→ gem env home
/Users/masonry/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0
I am using ruby 2.3.1, so why do I have lib/gems/2.3.0
? Maybe that's the problem here?