Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk]  Error installing gem install sup on CentOS.
@ 2010-04-23  5:57 ghanashyam
  2010-04-23 14:22 ` Matthias Guedemann
  2010-04-23 14:28 ` Mark Alexander
  0 siblings, 2 replies; 3+ messages in thread
From: ghanashyam @ 2010-04-23  5:57 UTC (permalink / raw)
  To: sup-talk


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sup-talk] Error installing gem install sup on CentOS.
  2010-04-23  5:57 [sup-talk] Error installing gem install sup on CentOS ghanashyam
@ 2010-04-23 14:22 ` Matthias Guedemann
  2010-04-23 14:28 ` Mark Alexander
  1 sibling, 0 replies; 3+ messages in thread
From: Matthias Guedemann @ 2010-04-23 14:22 UTC (permalink / raw)
  To: sup-talk

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 found

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

regards
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sup-talk] Error installing gem install sup on CentOS.
  2010-04-23  5:57 [sup-talk] Error installing gem install sup on CentOS ghanashyam
  2010-04-23 14:22 ` Matthias Guedemann
@ 2010-04-23 14:28 ` Mark Alexander
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Alexander @ 2010-04-23 14:28 UTC (permalink / raw)
  To: ghanashyam; +Cc: sup-talk

Excerpts from ghanashyam's message of Fri Apr 23 01:57:48 -0400 2010:
> 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
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-23 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23  5:57 [sup-talk] Error installing gem install sup on CentOS ghanashyam
2010-04-23 14:22 ` Matthias Guedemann
2010-04-23 14:28 ` Mark Alexander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox