Down load gem by your self and install  http://rubygems.org/
and if possible use ruby lateset stable version

On Mon, Nov 22, 2010 at 9:59 PM, Franck <ffallat...@gmail.com> wrote:

> Hello,
>
> I've been trying to deploy a Ruby on Rails application and everything
> works fine until it tries to run the DB migration scripts, at which
> point it fails:
>
> *** [err :: test-app1] Rails requires RubyGems >= 1.3.2. Please
> install RubyGems and try again: http://rubygems.rubyforge.org
> *** [err :: test-app1]
>  ** [out :: test-app1] (in /filestore/rails/test/releases/
> 20101117194037)
>    command finished
> failed: "sh -c 'cd /var/rails/test/releases/20101117194037 && rake
> RAILS_ENV=production db:util:migrate'" on test-app1
>
> If I attempt to run the rake command manually to run the DB scripts, I
> see the same error:
> [r...@test-app1 current]# rake RAILS_ENV=production db:util:migrate
> (in /filestore/rails/test/releases/20101118220117)
> Rails requires RubyGems >= 1.3.2. Please install RubyGems and try
> again: http://rubygems.rubyforge.org
>
> Here's some more info:
>
> [r...@test-app1 current]# ruby -v
> ruby 1.8.5 (2006-08-25) [x86_64-linux]
>
> [r...@test-app1 current]# gem -v
> 1.3.3
>
> [r...@test-app1 current]# rake --version
> rake, version 0.8.7
>
> [r...@test-app1 current]# gem list
>
> *** LOCAL GEMS ***
>
> fastthread (1.0.7)
> passenger (2.2.15)
> rack (1.2.1)
> rake (0.8.7)
>
> [r...@test-app1 current]# which ruby; which gem; which rake
> /usr/bin/ruby
> /usr/bin/gem
> /usr/bin/rake
>
> [r...@test-app1 current]# whereis ruby; whereis gem; whereis rake
> ruby: /usr/bin/ruby /usr/lib/ruby /usr/share/man/man1/ruby.1.gz
> gem: /usr/bin/gem
> rake: /usr/bin/rake
>
> [r...@test-app1 current]# gem env
> RubyGems Environment:
>  - RUBYGEMS VERSION: 1.3.3
>  - RUBY VERSION: 1.8.5 (2006-08-25) [x86_64-linux]
>  - INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/1.8
>  - RUBY EXECUTABLE: /usr/bin/ruby
>  - EXECUTABLE DIRECTORY: /usr/bin
>  - RUBYGEMS PLATFORMS:
>    - ruby
>    - x86_64-linux
>  - GEM PATHS:
>     - /usr/lib64/ruby/gems/1.8
>     - /root/.gem/ruby/1.8
>  - GEM CONFIGURATION:
>     - :update_sources => true
>     - :verbose => true
>     - :benchmark => false
>     - :backtrace => false
>     - :bulk_threshold => 1000
>     - :sources => ["http://ec2-us-east-mirror.rightscale.com/rubygems/
> archive/latest/<http://ec2-us-east-mirror.rightscale.com/rubygems/%0Aarchive/latest/>
> "]
>  - REMOTE SOURCES:
>     - http://ec2-us-east-mirror.rightscale.com/rubygems/archive/latest/
>
> I've done many different things to no avail.  I removed RubyGems and
> reinstalled it (1.3.1, 1.3.2), I upgraded my version of Ruby to
> Enterprise 1.8.7.
>
> Could someone please help me out?
>
> Thank you,
> Franck
>
>
> --
> 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-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Thanks:
Rajeev sharma
+919013155133

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to