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
On 12 May 2010 13:48, Faisal B. [email protected] 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?
Colin
On Wed, May 12, 2010 at 6:12 AM, Faisal B. [email protected]
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 S. ------------------------ [email protected]
twitter: @hassan
Colin L. wrote:
On 12 May 2010 13:48, Faisal B. [email protected] 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?
Colin
k 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$
Hassan S. wrote:
On Wed, May 12, 2010 at 6:12 AM, Faisal B. [email protected]
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 S. ------------------------ [email protected]
twitter: @hassan
Hey 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
On Wed, May 12, 2010 at 6:36 AM, Faisal B. [email protected]
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 S. ------------------------ [email protected]
twitter: @hassan
Hassan S. wrote:
On Wed, May 12, 2010 at 6:36 AM, Faisal B. [email protected]
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 S. ------------------------ [email protected]
twitter: @hassan
awesome dude…that worked!..finally the server started…thanks a
lot Hassan, much appreciated.