https://www.redmine.org/
https://www.redmine.org/favicon.ico?1679302129
2013-08-11T00:12:58Z
Redmine
Redmine - Defect #14656: JRuby: Encoding error when creating issues
https://www.redmine.org/issues/14656?journal_id=51184
2013-08-11T00:12:58Z
Toshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>Encoding error when creating issues</i> to <i>JRuby: Encoding error when creating issues</i></li><li><strong>Category</strong> changed from <i>Issues</i> to <i>Ruby support</i></li></ul>
Redmine - Defect #14656: JRuby: Encoding error when creating issues
https://www.redmine.org/issues/14656?journal_id=51803
2013-09-16T13:42:17Z
Vincent Mathon
<ul></ul><p>I have solved the problem by upgrading activerecord-jdbc-adapter to version 1.2.7 (this issue seems to be related to an <a href="https://github.com/jruby/activerecord-jdbc-adapter/issues/229" class="external">activerecord-jdbc-adapter</a> encoding defect).<br />To achieve this I have modified two files:</p>
<p><strong>Gemfile</strong><br /><pre>
....
platforms :jruby do
# jruby-openssl is bundled with JRuby 1.7.0
gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
gem "activerecord-jdbc-adapter", "1.2.7"
end
....
</pre></p>
<p>and <strong>Gemfile.lock</strong><br /><pre>
.....
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activerecord-jdbc-adapter (1.2.7)
activerecord-jdbcmysql-adapter (1.2.7)
activerecord-jdbc-adapter (~> 1.2.7)
jdbc-mysql (~> 5.1.0)
....
</pre><br /><pre>
DEPENDENCIES
activerecord-jdbc-adapter (= 1.2.7)
....
</pre></p>
<p>Sincerly<br />Vincent MATHON</p>
Redmine - Defect #14656: JRuby: Encoding error when creating issues
https://www.redmine.org/issues/14656?journal_id=51943
2013-09-21T15:59:53Z
Toshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>2.3.4</i></li></ul>
Redmine - Defect #14656: JRuby: Encoding error when creating issues
https://www.redmine.org/issues/14656?journal_id=51979
2013-09-23T01:44:19Z
Toshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-5 priority-high2 closed" href="/issues/14883">Defect #14883</a>: Update activerecord-jdbc-adapter</i> added</li></ul>
Redmine - Defect #14656: JRuby: Encoding error when creating issues
https://www.redmine.org/issues/14656?journal_id=52155
2013-09-30T03:28:37Z
Toshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Updated jdbc adapter version above 1.2.6 in Gemfile by trunk <a class="changeset" title="Gemfile: update jdbc adapter version above 1.2.6 (#14883)" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12172">r12172</a> and 2.3-stable <a class="changeset" title="Merged r12172 from trunk to 2.3-stable (#14883) Gemfile: update jdbc adapter version above 1.2.6." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12174">r12174</a>.</p>