This is what worked for me when upgrading an existing rails 3.0.8 project. Your mileage may vary ...
Update the version of rails indicated in my Gemfile to use the latest release:
gem 'rails', '3.1.0.rc4'
Update package:
bundle update
Then update the project with the rake command:
rake rails:update
After the cherry gathered although a conflict of changes, I ran all my tests and they passed (yay!). I restarted the server and everything seems to be good so far.
However, this is not yet using the conveyor of new assets. By this I mean that javascript and css (or sass) files are still processed according to the preliminary pipeline. As far as I understand, this is a viable option. But, of course, I want new kindness, so I believe that the next steps include additional gems (e.g. coffeescript, sass, uglifier, etc.), and then transfer the old files to the application / asset directory.
I found some details about what's here:
http://blog.nodeta.com/2011/06/14/rails-3-1-asset-pipeline-in-the-real-world/
Hope this was helpful.
Jeff Johnston Jun 15 '11 at 23:14 2011-06-15 23:14
source share