I had fixed the below error long time back...and now it''s back again....... I have no clue how it happened....help would be appreciated thanks.... unknown0011248da679:~/hello faisal$ ruby script/server Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again: http://rubygems.rubyforge.org -- 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.
On 12 May 2010 13:48, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I had fixed the below error long time back...and now it''s back > again....... > I have no clue how it happened....help would be appreciated thanks.... > > unknown0011248da679:~/hello faisal$ ruby script/server > Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again: > http://rubygems.rubyforge.orgDid you check which version you have and attempt update if appropriate? Colin -- 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.
Colin Law wrote:> On 12 May 2010 13:48, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> I had fixed the below error long time back...and now it''s back >> again....... >> I have no clue how it happened....help �would be appreciated thanks.... >> >> unknown0011248da679:~/hello faisal$ ruby script/server >> Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again: >> http://rubygems.rubyforge.org > > Did you check which version you have and attempt update if appropriate? > > Colink this is wat i did unknown0011248da679:~/hello faisal$ gem -v 1.3.6 unknown0011248da679:~/hello faisal$ which gem /usr/local/bin/gem unknown0011248da679:~/hello faisal$ whereis gem unknown0011248da679:~/hello faisal$ which rails /usr/local/bin/rails unknown0011248da679:~/hello faisal$ whereis rails unknown0011248da679:~/hello faisal$ /usr/local/bin/gem -v 1.3.6 unknown0011248da679:~/hello faisal$ /usr/local/bin/rails -v Rails 2.3.5 so I tried updating this is what I got unknown0011248da679:~ faisal$ sudo gem update --system Password: Updating RubyGems Nothing to update unknown0011248da679:~ faisal$ -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, May 12, 2010 at 6:12 AM, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:>>> unknown0011248da679:~/hello faisal$ ruby script/server >>> Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again:> k this is wat i didBut the command that''s "failing" isn''t gem or rails, it''s `ruby` :-) so that implies you have a different one than you think first in your path. What does `which ruby` return? Also, try `ruby -S gem -v` -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder wrote:> On Wed, May 12, 2010 at 6:12 AM, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >>>> unknown0011248da679:~/hello faisal$ ruby script/server >>>> Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again: > >> k this is wat i did > > But the command that''s "failing" isn''t gem or rails, it''s `ruby` :-) so > that implies you have a different one than you think first in your path. > > What does `which ruby` return? > > Also, try `ruby -S gem -v` > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanHey Hassan, I remember you had helped me fix the bug last time......k here it is unknown0011248da679:~/hello faisal$ which ruby /usr/bin/ruby unknown0011248da679:~/hello faisal$ ruby -S gem -v /usr/local/bin/gem:8:in `require'': No such file to load -- rubygems (LoadError) from /usr/local/bin/gem:8 unknown0011248da679:~/hello faisal$ thanks -- 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.
On Wed, May 12, 2010 at 6:36 AM, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> unknown0011248da679:~/hello faisal$ which ruby > /usr/bin/ruby > unknown0011248da679:~/hello faisal$ ruby -S gem -v > /usr/local/bin/gem:8:in `require'': No such file to load -- rubygemsBingo -- try `/usr/local/bin/ruby script/server` If that works, just make sure your .bashrc or whatever explicitly puts /usr/local/bin before /usr/bin in your PATH. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder wrote:> On Wed, May 12, 2010 at 6:36 AM, Faisal Basha <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> unknown0011248da679:~/hello faisal$ which ruby >> /usr/bin/ruby >> unknown0011248da679:~/hello faisal$ ruby -S gem -v >> /usr/local/bin/gem:8:in `require'': No such file to load -- rubygems > > Bingo -- try `/usr/local/bin/ruby script/server` > > If that works, just make sure your .bashrc or whatever explicitly puts > /usr/local/bin before /usr/bin in your PATH. > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanawesome dude...that worked!.......finally the server started...thanks a lot Hassan, much appreciated. -- 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.