Link to home
Start Free TrialLog in
Avatar of Illyankesh
IllyankeshFlag for United States of America

asked on

Cannot install rubygem rcov

Trying to install the rubygem rcov in ubuntu intrepid.  I need this particular gem for a autoscript for amazon ec2 services.  However I get an error whenever I try to install the gem via gem install rcov

This worked just last week, when I installed it for another machine, and now cannot find the gem?
gem install rcov
Building native extensions.  This could take a while...
ERROR:  Error installing rcov:
        ERROR: Failed to build gem native extension.
 
/usr/bin/ruby1.8 extconf.rb install rcov
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
        from extconf.rb:1
 
 
Gem files will remain installed in /var/lib/gems/1.8/gems/rcov-0.8.1.2.0 for inspection.
Results logged to /var/lib/gems/1.8/gems/rcov-0.8.1.2.0/ext/rcovrt/gem_make.out
 
and opening the file produces this.
 
/usr/bin/ruby1.8 extconf.rb install rcov
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
        from extconf.rb:1
 
What does this mean?

Open in new window

Avatar of Fabio Marzocca
Fabio Marzocca
Flag of Italy image

did you correctly send the command with root privilegies?

sudo gem install rcov
Avatar of Illyankesh

ASKER

Yes, i was logged in as root.  and all the other gems installed just fine.
ASKER CERTIFIED SOLUTION
Avatar of Fabio Marzocca
Fabio Marzocca
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks alot man, that was super fast response time.  Saved my bacon.  Cheers.