On 2 November 2010 19:11, Nathan Domier <[email protected]> wrote:

Could you not top post please, and remember to quote the email you are
replying to, otherwise it is difficult to follow the thread

> Interesting, rails -v gave me 2.3.5, so I tried running 'gem update
> rails' which gave me 'Nothing to update'
>
> Then I tried 'gem install rails' which put several folders into
> /var/lib/gems/1.8/gems/ including a "rails-3.0.1" folder, get rails -v
> still gives me 2.3.5 and gem update rails still gives me 'Nothing to
> update'

Have a look at config/environment.rb (in your app) and I expect you
will find a line something like
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION

This says to use version 2.3.5 for the app (as this was the version
available when you created it).

If you want to move to rails 3 I would suggest forgetting about that
app and starting again with rails 3.

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

Reply via email to