Skip to content

Instantly share code, notes, and snippets.

@mcshakes
Created October 14, 2016 23:45
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcshakes/c87e8adda174c73be354094800b9756d to your computer and use it in GitHub Desktop.
Save mcshakes/c87e8adda174c73be354094800b9756d to your computer and use it in GitHub Desktop.
Running into RVM and readline issues
$ rails c
Running via Spring preloader in process 7916
/Users/edmac/.rvm/gems/ruby-2.3.1/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require': dlopen(/Users/edmac/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin14/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
Referenced from: /Users/edmac/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin14/readline.bundle
Reason: image not found - /Users/edmac/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-darwin14/readline.bundle
Fixed with:
ln -s /usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.6.dylib
@benpolinsky
Copy link

Thumbs up emoji.

@liangcarrie20
Copy link

Thank you!!!

@swmcc
Copy link

swmcc commented Mar 13, 2017

👍 thank you

@daninfpj
Copy link

👍

@mikeluc
Copy link

mikeluc commented Oct 30, 2017

Thank you !!!

@jixiaoxin666
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment