23
Fixing Ruby readline.bundle Image Not Found
source link: https://fuzzyblog.io/blog/ruby/2019/08/30/fixing-ruby-readline-bundle-image-not-found.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Fixing Ruby readline.bundle Image Not Found
Aug 30, 2019
I've seen a lot of ruby weirdness over the years but this one was new to me:
1) Metric#color reps should be green when the goal is increase_is_better = true and the change is +
Failure/Error: byebug
LoadError:
dlopen(/Users/sjohnson/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/x86_64-darwin16/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: /Users/sjohnson/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/x86_64-darwin16/readline.bundle
Reason: image not found - /Users/sjohnson/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/x86_64-darwin16/readline.bundle
The solution turned out to be:
ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
Thank you to Zuhlfreelancer
Posted In: #ruby
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK