Created
October 31, 2011 13:59
-
-
Save michaelglass/1327550 to your computer and use it in GitHub Desktop.
1.9.3-p0 ruby-debug19 error
This file contains 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
pen(/Users/michaelglass/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_threadptr_data_type (LoadError) | |
Referenced from: /Users/michaelglass/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle | |
Expected in: flat namespace | |
in /Users/michaelglass/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle - /Users/michaelglass/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle |
How can I solve this problem?
answer is here:
http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
From the article:
First download linecache19-0.5.13.gem and ruby-debug-base19-0.11.26.gem from http://rubyforge.org/frs/?group_id=8883, then …
$ gem install linecache19-0.5.13.gem
Building native extensions. This could take a while...
Successfully installed linecache19-0.5.13
1 gem installed
$ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/santiago/.rbenv/source/ruby-1.9.3-p0
Building native extensions. This could take a while...
Successfully installed ruby-debug-base19-0.11.26
1 gem installed
$ irb
irb(main):001:0> require 'ruby-debug'
=> true
This didn't work for me on my Mac OSX, it worked on my Ubuntu box, any ideas?
@mdoroudi comment out ruby-debug , use pry . I think that is the best solution.
@prabeshshrestha I'm not so familiar with pry is it (https://github.com/pry/pry) ? because it sais it's a replacement for irb, but I'm looking to debug my program in rails
@mdoroudi I am using it to debug my applications in rails . It works great with rails application. Let me know if you are still not able to use it for your rails app.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getting the same error.