Hello. I am trying to get Ruby installed on our CentOS 5.2 (x64) server for a specific Ruby application (clockingIT). I followed the steps here: http://github.com/ari/clockingit I made sure that all Ruby related packages are installed, here are the versions according to RPM. But on Step 3 I am unable to "gem install passenger", it just says ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find passenger (> 0) in any repository So I tried installing Phusion Passenger from source, but it says I am missing Rake and Rack and Fastthread. So I tried installing those, same problem... gem install rake Could not find rake (> 0) in any repository gem install rack Could not find rack (> 0) in any repository gem install fastthread Could not find fastthread (> 0) in any repository When I checked the "gem env" it says: RubyGems Environment: - VERSION: 0.9.4 (0.9.4) - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - GEM PATH: - /usr/lib/ruby/gems/1.8 - REMOTE SOURCES: - http://gems.rubyforge.org I read somewhere about deleting the source_cache and doing "gem update" so I tried that, but no luck. Any ideas? Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
comopasta Gr
2010-Feb-24 21:13 UTC
Re: Please help with new Ruby install (my gems are missing!)
Hi, Sorry if I go too much to the basics but what is the output of "gem sources"? That will tell you the repositories you have defined to look for gems. For example rake is in github (based on a quick search in google). Does adding github help? Use "gem sources -a http://gems.github.com" to add the repository. Add that if you don''t have it and try to get the gem/s again. Cheers. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
comopasta Gr
2010-Feb-24 21:15 UTC
Re: Please help with new Ruby install (my gems are missing!)
Your gems environment indicates that you only have gems.rubyforge.org as a repository. Not all the gems are found there so you need to add the right locations. Adding github might solve your problems... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder
2010-Feb-24 22:19 UTC
Re: Please help with new Ruby install (my gems are missing!)
On Tue, Feb 23, 2010 at 10:29 PM, rezilient <rezilient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> ERROR: While executing gem ... (Gem::GemNotFoundException) > Could not find passenger (> 0) in any repository> When I checked the "gem env" it says: > > RubyGems Environment: > - VERSION: 0.9.4 (0.9.4)Your version of gem is ancient -- current version is 1.3.6. Try `gem update --system` and see if that brings you current. Then you shouldn''t have any trouble installing those other gems. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rezilient
2010-Feb-25 06:28 UTC
Re: Please help with new Ruby install (my gems are missing!)
Finally got it working, had to upgrade to Ruby 1.8.6 for the Gem update to run successfully (it was saying I''m on 1.8.5, expecting 1.8.6). So I had to build Ruby from source for CentOS 5.2 x64. Also the 2nd half of this script to install Gem 1.3.5 was useful. http://github.com/albertsj1/Misc-Scripts/raw/master/install_gems.sh Thanks! On Feb 24, 5:19 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Feb 23, 2010 at 10:29 PM, rezilient <rezili...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > ERROR: While executing gem ... (Gem::GemNotFoundException) > > Could not find passenger (> 0) in any repository > > When I checked the "gem env" it says: > > > RubyGems Environment: > > - VERSION: 0.9.4 (0.9.4) > > Your version of gem is ancient -- current version is 1.3.6. > > Try `gem update --system` and see if that brings you current. Then > you shouldn''t have any trouble installing those other gems. > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.