Does trunk work on Rails 2.0.2?
Added by Arthaey Angosii over 16 years ago
The FAQ says that "Redmine devel r1623 and above is compatible with Rails 2.1, but Redmine 0.7.x releases are not."
Is trunk supposed to also be backwards compatible with Rails 2.0.2? I tried updating my Redmine checkout to the latest on trunk, but I started getting errors. Downgrading to pre-r1623 fixed the errors, so that made me wonder whether trunk is supposed to work on Rails 2.0.2 in the first place.
Here's the output of script/about:
About your application's environment Ruby version 1.8.5 (i386-linux) RubyGems version 0.9.5 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2 Active Resource version 2.0.2 Action Mailer version 2.0.2 Active Support version 2.0.2 Application root /path/to/redmine/tag-0.7.3 Environment production Database adapter mysql Database schema version 94
I'm running on Dreamhost with Phusion Passenger.
Replies (4)
RE: Does trunk work on Rails 2.0.2? - Added by Eric Davis over 16 years ago
As of r1623, Rails 2.1 is required (see Line 8 of config/environment.rb). From what I understand, trunk is for version 0.8 which is allowed to require the latest Rails framework and break backwards compatibility.
Eric
RE: Does trunk work on Rails 2.0.2? - Added by Arthaey Angosii over 16 years ago
Thanks for the response. It's too bad about the breaking of backwards compatibility... I'll have to see if Dreamhost can be convinced to upgrade.
RE: Does trunk work on Rails 2.0.2? - Added by Thomas Löber over 16 years ago
You should be able to copy Rails 2.1 to your vendor/rails
directory by running "rake rails:freeze:gems
" on a system where Rails 2.1 is installed.