rubygems1.8 does not work - apppears misconfigured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgems-ruby (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I installed ruby 4.5, and rubygems1.8 from the Synaptic Package Manager, and tried to do
sudo gem install ruby-debug, and am getting error messages that are beyond my capacity to fix. The transcript from the terminal follows:
myuser@
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
myuser@
[sudo] password for myuser:
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
Gem files will remain installed in /var/lib/
Results logged to /var/lib/
myuser@
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: rubygems (not installed)
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Wed Jun 9 14:15:12 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANG=en_AU.utf8
SHELL=/bin/bash
SourcePackage: libgems-ruby
I found a similar problem described in: http:// groups. google. com/group/ sdruby/ browse_ thread/ thread/ d3ba3a487714bdb 4?pli=1
I installed build-essential ruby-dev 4.2 libruby1.8-dbg and retried 'sudo gem install rub-debug' after this, the gem installed correctly.
I suggest that there are missing dependencies on the ruby-gems package.
Cheers....