Can't require yaml from jruby-complete.jar at head
--------------------------------------------------
Key: JRUBY-3893
URL: http://jira.codehaus.org/browse/JRUBY-3893
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.x+
Reporter: Rib Rdb
Assignee: Thomas E Enebo
$ java -cp .:lib/jruby-complete.jar org.jruby.Main -ryaml -e 'puts :hi'
Exception in thread "main" yaml/constants:15:in `const_missing': uninitialized
constant YAML::Yecht::Resolver (NameError)
from yaml:88
from yaml:1
...internal jruby stack elided...
from Module.const_missing(yaml:88)
from (unknown).(unknown)(yaml:1)
from (unknown).(unknown)(yaml:1)
from (unknown).(unknown)(:1)
It works if yecht.jar is on the classpath:
$ java -cp lib/jruby-complete.jar:lib/ruby/site_ruby/yecht.jar org.jruby.Main
-ryaml -e 'puts :hi'
hi
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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