プロジェクト

全般

プロフィール

Vote #63583

完了

Add Ruby 1.8.7 Support

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

ステータス:
Closed
優先度:
急いで
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2008/07/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
2
issue_org_id:
1609
author_id:
1038
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

With the recent exploits found in Ruby and other additions to 1.8.7 I think it would be extremely beneficial to get Redmine working with 1.8.7 as many hosts will soon be making the upgrade and breaking a lot of instances. I'm forced to downgrade my instance of Ruby on a particular box just to run Redmine.


journals

Did you test current trunk ?
It passes tests with ruby 1.8.7 + rails 2.1. Please report any compatibility problem.
--------------------------------------------------------------------------------
Well. I have redmine 0.7.3 on ruby 1.8.7 and it works ok with patched rails 2.0.2.
There is only one thing changed:
Change truncate in actionpack-2.0.2/lib/action_view/helpers/text_helper.rb to:
<pre>
def truncate(text, length = 30, truncate_string = "...")
if text.nil? then return end
l = length - truncate_string.length
if $KCODE == "NONE"
text.length > length ? text[0...l] + truncate_string : text
else
chars = text.split(//)
chars.length > length ? chars[0...l].join + truncate_string : text
end
end
</pre>

That fix can be found somewhere here (issues or board ;)
--------------------------------------------------------------------------------
Trunk is full compatible with ruby 1.8.7.
--------------------------------------------------------------------------------

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

  • 対象バージョン0.8_2 にセット

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

いいね!0
いいね!0