Permalink
Browse files

Remove JRuby patch now that the bug is fixed in a stable release

  • Loading branch information...
1 parent ea16ef8 commit 3226534db6bb78c7637b4f058b73c5dc37e9b88e @dkubb dkubb committed Apr 1, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 templates/rails/application.rb
@@ -12,22 +12,6 @@
'ApplicationController',
" use Rails::DataMapper::Middleware::IdentityMap\n"
-initializer 'jruby_monkey_patch.rb', <<-CODE
-if RUBY_PLATFORM =~ /java/
- # ignore the anchor to allow this to work with jruby:
- # http://jira.codehaus.org/browse/JRUBY-4649
- class Rack::Mount::Strexp
-
- class << self
- alias :compile_old :compile
- def compile(str, requirements, separators, anchor)
- self.compile_old(str, requirements, separators)
- end
- end
- end
-end
-CODE
-
say ''
say '---------------------------------------------------------------------------'
say 'Have a look at the dm-rails README: http://github.com/datamapper/dm-rails'

0 comments on commit 3226534

Please sign in to comment.