[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem error

eoghan

3/21/2008 4:38:00 PM

Hi
Im attempting to install mongrel using gem, i have:
gem 1.0.1
ruby 1.8.6
when i run sudo gem install mongrel
i get the following message:
Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install mongrel
creating Makefile

make
sh: make: command not found


Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/fastthread-1.0.1 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/fastthread-1.0.1/ext/fastthread/gem_make.out

I have checked google but not found anything to solve my problem,
could anyone help me?
Im using linux (foresight 2)
Thanks
Eoghan

1 Answer

eoghan

3/22/2008 10:05:00 AM

0

On Fri, Mar 21, 2008 at 10:03 PM, Daniel Bye <ruby@slightlystrange.org> wrote:
> On Sat, Mar 22, 2008 at 01:38:03AM +0900, eoghan wrote:
> > Hi
> > Im attempting to install mongrel using gem, i have:
> > gem 1.0.1
> > ruby 1.8.6
> > when i run sudo gem install mongrel
> > i get the following message:
> > Building native extensions. This could take a while...
> > ERROR: Error installing mongrel:
> > ERROR: Failed to build gem native extension.
> >
> > /usr/bin/ruby extconf.rb install mongrel
> > creating Makefile
> >
> > make
> > sh: make: command not found
>
> Looks like you don't have `make' on your system (or in your $PATH).
> If that's the case, install it (dunno anything about foresight Linux,
> so can't help with that) and try again.

DOH! Thanks Dan, problem solved.

Eoghan