ruby-debug19 on Ubuntu 10.04 (with rvm) 0

Posted by dave
on Thursday, September 09

Note to self: the newest available version of ruby-debug19 will fail brutally like this on the Ubuntu 10.04:

$ ruby -Ilib:test test/controllers/test_my_account_controller.rb 
/home/dave/.rvm/gems/ruby-1.9.1-p378/gems/ruby-debug-base19-0.11.24/lib/ruby-debug-base.rb:1:in `require': no such file to load -- ruby_debug.so (LoadError)

To avoid this unpleasant fate, uninstall the latest versions of ruby-debug19 and ruby-debug-base19 (which are both at 0.11.24):

gem uninstall ruby-debug19
gem uninstall ruby-debug-base19

For some reason, that didn’t do the trick for me and I also had to manually remove the installed gem files from rvm’s gems folder:

rm -Rf ~/.rvm/gems/ruby-1.9.1-p378/gems/ruby-debug-base19-0.11.24/

After that, the gem installed just fine, one patch point back:

gem install ruby-debug-base19 -v=0.11.23
gem install ruby-debug19