Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Commit 3226534

Browse files
committed
Remove JRuby patch now that the bug is fixed in a stable release
1 parent ea16ef8 commit 3226534

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

templates/rails/application.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,6 @@
1212
'ApplicationController',
1313
" use Rails::DataMapper::Middleware::IdentityMap\n"
1414

15-
initializer 'jruby_monkey_patch.rb', <<-CODE
16-
if RUBY_PLATFORM =~ /java/
17-
# ignore the anchor to allow this to work with jruby:
18-
# http://jira.codehaus.org/browse/JRUBY-4649
19-
class Rack::Mount::Strexp
20-
21-
class << self
22-
alias :compile_old :compile
23-
def compile(str, requirements, separators, anchor)
24-
self.compile_old(str, requirements, separators)
25-
end
26-
end
27-
end
28-
end
29-
CODE
30-
3115
say ''
3216
say '---------------------------------------------------------------------------'
3317
say 'Have a look at the dm-rails README: http://github.com/datamapper/dm-rails'

0 commit comments

Comments
 (0)