Hello everyone, this is my first post, I’m from Costa Rica I’ve been
learning ruby for a couple of months now, now to the point.
I’ve been trying to install the hpricot gem but every time I get this:
Select which gem to install for your platform (universal-darwin8.0)
- hpricot 0.6 (mswin32)
- hpricot 0.6 (jruby)
- hpricot 0.6 (ruby)
- hpricot 0.5 (ruby)
- hpricot 0.5 (mswin32)
- Skip this gem
- Cancel installation
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install hpricot
checking for main() in -lc… no
sh: line 1: make: command not found
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/hpricot-0.6 for inspection.
Results logged to
I removed the hpricot folder a couple of times but I still get the error
message when trying to install…
I don’t know what to do, PLEASE HELP!!!