Project

General

Profile

Actions

Defect #13044

closed

Rake error using JRuby 1.7.2 and Redmine trunk

Added by Tobias Hofmann about 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

It's not possible to use JRuby 1.7.2 with current trunk of redmine (2.3?) because of a rake error message.

I'm able to reproduce the error by downloading a vanilla JRuby 1.7.2 + redmine trunk (from GitHub), execute a bundle install and then rake generate_secret_token (or a warble config for WAR creation). This gives:

ArgumentError: regexp prepocess failed: too short control escape
Backtrace at C:/[...]jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/backtrace.rb:10
Rake at C:/[...]jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/backtrace.rb:2
(root) at C:/[...]jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/backtrace.rb:1
[...]

The backtrace.rb file contains the line:
SUPPRESS_PATTERN = %r!(\A#{SUPPRESSED_PATHS.join('|')}|bin/rake:\d+)!i

Deleting this line and rake or warble isn't throwing the error.

I also had this error with JRuby 1.6 and redmine >= 2.2.0. I'm using Windows 7 64bit. List of installed gems attached.


Files

screenshot.15.jpg (133 KB) screenshot.15.jpg Installed gems Tobias Hofmann, 2013-01-31 13:38

Related issues

Related to Redmine - Feature #12228: JRuby 1.7.2 supportClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF