RVM + Ruby 1.9.1 + ruby-debug = error?

I am trying to get decent navigation between my methods in TextMate. I would like to have their list in the box, but I think there is no such solution yet, right? Therefore, I am trying to configure RubyAMP to work with Ruby 1.9.1-p378 installed through RVM , but with some problems. RubyAMP needs ruby-debug , and this is what I get if I try to install a gem

 $ rvm gem install ruby-debug info: ruby-1.9.1-p378: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-darwin10] Building native extensions. This could take a while... ERROR: Error installing ruby-debug: ERROR: Failed to build gem native extension. /Users/andrei/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb Can't handle 1.9.x yet *** extconf.rb failed *** 

However, the gem page says that it should work with 1.9.x. How can i fix this?

+4
source share
3 answers

Try this (from https://rvm.io/support/troubleshooting ):

 rvm gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.1-p378/" 
+5
source

The latest ruby ​​1.9.2-p0 starts gem install ruby-debug19 without a hitch.

+5
source

For the last ruby ​​1.9.2-preview3

 gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/ruby-1.9.2-preview3" 
0
source

Source: https://habr.com/ru/post/1315276/


All Articles