[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk