Subject: [sup-talk] Error installing gem install sup on CentOS.

From: ghanashyam <[email-masked]>
Date: Thu, 22 Apr 2010 22:57:48 -0700 (PDT)

Hi, 

I have installed the ruby dependencies on my CentOS  2.6.18-164.11.1.el5
system. The following are the sequence of commands that I used to download
ruby related packages. 

For installing ruby and ruby related packages 

>> yum install -y ruby
>> yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc 

I did not have gem installed and hence i used wget to install gems  and
untarred and installed the setup.rb

>> wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
>> tar xzvf rubygems-1.3.1.tgz
>> cd  rubygems-1.3.1.tgz
>> sudo ruby ./setup.rb

Once I installed this, I had gem on my system. So time for installing sup.

>> sudo gem install sup
Building native extensions.  This could take a while...

ERROR:  Error installing sup:
        ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=/usr/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib
RUBYLIBDIR=/usr/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib
sh: rake: command not found

Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/gem_make.out

I got the above error.? 
what am i missing
Can any one help me out with this ? 

-- 
View this message in context: http://old.nabble.com/Error-installing-gem-install-sup-on-CentOS.-tp28337512p28337512.html
Sent from the SUP Talk mailing list archive at Nabble.com.

_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Mark Alexander <[email-masked]>
Date: Fri, 23 Apr 2010 10:28:48 -0400

> sh: rake: command not found

I don't use CentOS, so this is only a wild guess, but you might
have to do one of the following:

  gem install rake

or

  yum install ruby-rake

---

From: Matthias Guedemann <[email-masked]>
Date: Fri, 23 Apr 2010 16:22:37 +0200

> sh: rake: command not found

rake is "RAKE - Ruby Make" http://rake.rubyforge.org/ 
I bet there is a CentOS package for rake

regards