Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix byebug error #97

Merged
merged 1 commit into from
Dec 3, 2016
Merged

Fix byebug error #97

merged 1 commit into from
Dec 3, 2016

Conversation

misaka
Copy link
Contributor

@misaka misaka commented Dec 1, 2016

Not certain why but in certain circumstances ruby seems to lose it's
link to the readline dylib causing byebug to raise errors when being
required, possibly as a result of a 'brew update'. The fix in this
commit is mentioned here:

deivid-rodriguez/byebug#289

The alternative seems to be to recompile ruby.

Not certain why but in certain circumstances ruby seems to lose it's
link to the readline dylib causing byebug to raise errors when being
required, possibly as a result of a 'brew update'. The fix in this
commit is mentioned here:

deivid-rodriguez/byebug#289

The alternative seems to be to recompile ruby.
@misaka
Copy link
Contributor Author

misaka commented Dec 1, 2016

To help others, the error I get when trying to run anything in this project:

    Sorry, you can't use byebug without Readline. To solve this, you need to
    rebuild Ruby with Readline support. If using Ubuntu, try `sudo apt-get
    install libreadline-dev` and then reinstall your Ruby.
/Users/michaelgorodnitzky/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-9.0.5/lib/byebug/history.rb:2:in `require': dlopen(/Users/michaelgorodnitzky/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
  Referenced from: /Users/michaelgorodnitzky/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
  Reason: image not found - /Users/michaelgorodnitzky/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle

@misaka misaka merged commit fb55810 into develop Dec 3, 2016
@misaka misaka deleted the fix-byebug-bug branch December 3, 2016 14:15
@misaka misaka removed the in progress label Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants