Skip to content

Instantly share code, notes, and snippets.

@calavera
Created February 2, 2011 15:21
Show Gist options
  • Save calavera/807829 to your computer and use it in GitHub Desktop.
Save calavera/807829 to your computer and use it in GitHub Desktop.
SyntaxError: (SecurityError) can't modify literal regexp
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini/rexml.rb:30:in `parse'
org/jruby/RubyBasicObject.java:1671:in `send19'
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini.rb:78:in `parse'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:146:in `assert_equal_rexml'
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini.rb:91:in `with_backend'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:146:in `assert_equal_rexml'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:82:in `test_one_node_with_attributes_document_as_hash'
org/jruby/RubyBasicObject.java:1665:in `send19'
/home/dcalavera/.rvm/gems/jruby-1.5.6/gems/mocha-0.9.10/lib/mocha/integration/mini_test/version_142_and_above.rb:27:in `run'
org/jruby/RubyArray.java:1676:in `each'
org/jruby/RubyArray.java:1676:in `each'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment