Illyankesh
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?
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?
ASKER
Yes, i was logged in as root. and all the other gems installed just fine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks alot man, that was super fast response time. Saved my bacon. Cheers.
sudo gem install rcov