undefined method `file' for Digest::MD5 with rails 3.1 assets -------------------------------------------------------------
Key: JRUBY-6046 URL: https://jira.codehaus.org/browse/JRUBY-6046 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.4 Environment: jruby 1.6.4 (ruby-1.8.7-p330) on jdk 1.6.0_26 [darwin-i386-java] within Glassfish 3.1.1 container, Reporter: Alex Bowen Assignee: Thomas E Enebo Attachments: stacktrace.txt I'm running rails 3.1 with jruby 1.6.4, within an osgi bundle via glassfish 3.1.1. After working through some classloader kinks I've had great success. However, upon upgrading to jruby 1.6.4 I get errors when the sprockets asset library tries to construct md5 digest as it serves up css/js files. undefined method `file' for #<Digest::MD5: 97739329ce42ca4790d6d6355cef77c0> -> sprockets (2.0.0) lib/sprockets/base.rb:74:in `file_digest' (see attached for full stacktrace) When I roll back to to jruby 1.6.3 everything seems to work. I did some digging and it seems there were some changes to the digest in #4717 and earlier with #4714. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email