Created
March 31, 2012 13:13
-
-
Save HatemMahmoud/2264172 to your computer and use it in GitHub Desktop.
ruby-debug error with Ruby 1.9.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error: /Users/hatem/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby-debug-base.rb:1:in `require': dlopen(/Users/hatem/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError) | |
# First download linecache19-0.5.13.gem and ruby-debug-base19-0.11.26.gem from http://rubyforge.org/frs/?group_id=8883 | |
# Then, install the new gems | |
gem install linecache19-0.5.13.gem | |
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/hatem/.rbenv/versions/1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0/ | |
# Then, update your app | |
bundle update ruby-debug-base19 | |
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment