Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install json gem (gem install json), at first it fails to do so, because of some dev package issue. After fixing it, it fails saying that "sh: make: command not found" and "ERROR: Error installing json: ERROR: Failed to build gem native extension.". Why is it failing on make? Notice this is not Mac, this is in RHEL 5 (4 or 5, not sure). Why is it not able to do some "build gem native extension"?

share|improve this question
Do you have make installed? – terdon Dec 11 '12 at 11:04

To build the extention you need development tools. Install it using this command yum install Development Tools "make" program is located in that group as well as other needed dev tools.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .