Skip to content

Instantly share code, notes, and snippets.

@mcshakes
Created October 14, 2016 23:45
Show Gist options
  • Select an option

  • Save mcshakes/c87e8adda174c73be354094800b9756d to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Thumbs up emoji.

@liangcarrie20

Copy link
Copy Markdown

Thank you!!!

@swmcc

swmcc commented Mar 13, 2017

Copy link
Copy Markdown

๐Ÿ‘ thank you

@daninfpj

Copy link
Copy Markdown

๐Ÿ‘

@mikeluc

mikeluc commented Oct 30, 2017

Copy link
Copy Markdown

Thank you !!!

@jixiaoxin666

Copy link
Copy Markdown

thank you

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