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-rdocI 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.rbOnce I installed this, I had gem on my system. So time for installing sup.>> sudo gem install supBuilding 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.
Matthias Guedemann
2010-Apr-23 14:22 UTC
[sup-talk] Error installing gem install sup on CentOS.
Well you do not have rake installed:> 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 foundrake is "RAKE - Ruby Make" http://rake.rubyforge.org/ I bet there is a CentOS package for rake regards
Mark Alexander
2010-Apr-23 14:28 UTC
[sup-talk] Error installing gem install sup on CentOS.
Excerpts from ghanashyam''s message of Fri Apr 23 01:57:48 -0400 2010:> sh: rake: command not foundI 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