Updating Rails

0 views
Skip to first unread message

Dave

unread,
Jul 2, 2008, 1:40:06 AM7/2/08
to Ruby on Rails: Talk
I have a project that was created using Rails 2.0.1 and is now on a
computer which has Rails 2.1.0 installed. Is there an easy way to
update the project? If I run "rake rails:update" in the root directory
of my project (which seems like what I want to do), it complains that
the 2.0.1 gem is not installed.

Thanks in advance for your help.

Ryan Bigg

unread,
Jul 2, 2008, 2:31:51 AM7/2/08
to rubyonra...@googlegroups.com
Have you tried to install Rails 2.0.1 and then run the command again?

heimdull

unread,
Jul 2, 2008, 2:49:29 AM7/2/08
to Ruby on Rails: Talk
Did you change environments.rb to rails 2.1 ?

unread,
Jul 2, 2008, 4:16:35 AM7/2/08
to Ruby on Rails: Talk
first: change in environment.rb ,set 2.0.1 to 2.1.0
second: rake rails:freeze:edge TAG=rel_2-0-1, old project use old
rails, that's my idea
third: change back 2.1.0 to 2.0.1
the project use rails in vendor/rails and new and old project both ok.
Reply all
Reply to author
Forward
0 new messages