プロジェクト

全般

プロフィール

Vote #65461

完了

Rails 2.3.4 support

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2009/09/13
期日:
進捗率:

100%

予定工数:
category_id:
0
version_id:
6
issue_org_id:
3597
author_id:
6715
assigned_to_id:
5
comments:
13
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Redmine is falling behind times.. Rails 2.3 has been stable for a while and needs to be supported


journals

Redmine 0.9 will use Rails 2.3.
Can you explain why you need Rails 2.3 support ?
--------------------------------------------------------------------------------
Rails 2.3 is the latest stable version and needs to be supported regardless of MY needs. There are plenty of reasons why 2.3 is preferable. However I already found the rails 2.3 supported version [http://github.com/asoltys/redmine/commits/rails_2-3-2_compatibility]
--------------------------------------------------------------------------------
Slava Mikerin wrote:
> Rails 2.3 is the latest stable version and needs to be supported regardless of MY needs.

I disagree with your reason but not the request. While I would like to have some new features in Rails 2.3, upgrading just because there is a new version will cause a lot of extra work for already time constrained developers. One issue that really needs to be checked is Redmine plugin compatibility. Rails 2.3 and Rails Engines changed a lot in this release and I'm expecting some major breakage that all plugin authors will have to fix (e.g. @routes.rb@).

I'd suggest waiting for Rails "2.3.3":https://rails.lighthouseapp.com/projects/8994/milestones/41795-233 to come out. It has been promised any day now and is supposed to include some bug fixes for 2.3.2.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Rails 2.3.3 is out, so we should see about upgrading now. I'll take it since I'll be able to test my plugins and fix any incompatibilities.
--------------------------------------------------------------------------------
I have been trying to install Redmine on a Hostgator server and they are running Rails 2.3.3. The lastest Redmine I have is: redmine-0.8.4

I get an error page generated by Redmine (404 error)

Quote:
The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.
Unquote:

I attached a production log that shows it's a routes.rb issue? (Sorry, new to Ruby)

While we are waiting for .9, is there any work around for this? Hostgator is not going to let me downgrade Rails :)

Thanks,

-John

--------------------------------------------------------------------------------
John McBade:

Redmine 0.8.4 will not work with Rails 2.3, you need to use Rails 2.1.2. If you run @rake rails:freeze:edge RELEASE=2.1.2@, Rails will download and extract the 2.1.2 version of Rails to @vendor/rails@. Upload that to Hostgator and Redmine will work. Redmine loads Rails from that directory first, before loading the one installed on the server.

In other news, I'm working on getting Rails 2.3.4 working on trunk.
--------------------------------------------------------------------------------
I've completed the upgrade to Rails 2.3.4 and would like to get some feedback and testing before I push it into the trunk. There wasn't a lot of external changes but there were some tricky internal changes:

* Rails 2.3 removed the TamperedWithCookie exception
* @check_box_tag@ and @hidden_field_tag@ behave differently now so their placement had to be swapped in the html
* The format of @storage_units@ I18n strings were changed. I believe I've fixed the translations but I'd like to get a quick review from the translation team on them.
* @TabularFormBuilder@ was overwriting I18n strings in the testing runtime with HTML values
* Part of Rails Engines is now in the Rails core, so I had to create a new plugin to allow Redmine plugins to override views.
* Redmine plugins that use a @routes.rb@ will need to update it to the Rails 2.3 format.

The upgrade is on my "rails-2.3 branch on GitHub":http://github.com/edavis10/redmine_branches/tree/rails-2.3. A patch and commit log is attached for review. I'd like to push this into trunk next weekend (September 12-13th) unless a critical bug is found.

Thanks

--------------------------------------------------------------------------------
Merged in my Rails 2.3.4 branch into trunk at r2887.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Using svn trunk, I still got the issue described here http://www.redmine.org/boards/2/topics/8411 running either mongrel or rake until I set the RAILS_GEM_VERSION property to '2.3.2' in environment.rb.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Etienne Massip wrote:
> Using svn trunk, I still got the issue described here http://www.redmine.org/boards/2/topics/8411 running either mongrel or rake until I set the RAILS_GEM_VERSION property to '2.3.2' in environment.rb.

Please don't reopen features if there is a bug. If that happened, every bug would end up being listed in the comments and will lose track of which bugs are fixed or still open. Go ahead and open a new Bug and include a link to the forum post and this issue.

Thanks
--------------------------------------------------------------------------------


related_issues

relates,Closed,2265,Revert a specific plugin migrations

Admin Redmine さんがほぼ2年前に更新

  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0