Ubuntist
April 30th, 2007, 04:18 PM
I'd like to debug Ruby code in the Eclipse IDE under Ubuntu Feisty.
In its preferences window, Eclipse says that "In order to use ruby-debug you have to install the gem ruby-debug-ide...." OK, in Synaptic I install Ruby Gems and then try to install the right gem:
/usr/bin$ sudo gem install ruby-debug-ide
Install required dependency ruby-debug-base? [Yn] y
Select which gem to install for your platform (i486-linux)
1. ruby-debug-base 0.9.2 (ruby)
2. ruby-debug-base 0.9.2 (mswin32)
3. Cancel installation
> 1
Building native extensions. This could take a while...
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /var/lib/gems/1.8/gems/ruby-debug-base-0.9.2 for inspection.
Results logged to /var/lib/gems/1.8/gems/ruby-debug-base-0.9.2/ext/gem_make.out
That's obviously not good. The file gem_make.out is empty.
Anybody have any suggestions?
In its preferences window, Eclipse says that "In order to use ruby-debug you have to install the gem ruby-debug-ide...." OK, in Synaptic I install Ruby Gems and then try to install the right gem:
/usr/bin$ sudo gem install ruby-debug-ide
Install required dependency ruby-debug-base? [Yn] y
Select which gem to install for your platform (i486-linux)
1. ruby-debug-base 0.9.2 (ruby)
2. ruby-debug-base 0.9.2 (mswin32)
3. Cancel installation
> 1
Building native extensions. This could take a while...
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /var/lib/gems/1.8/gems/ruby-debug-base-0.9.2 for inspection.
Results logged to /var/lib/gems/1.8/gems/ruby-debug-base-0.9.2/ext/gem_make.out
That's obviously not good. The file gem_make.out is empty.
Anybody have any suggestions?