JRuby 1.6.2 fails to require standard YAML library when started in the debug 
mode
---------------------------------------------------------------------------------

                 Key: JRUBY-5825
                 URL: http://jira.codehaus.org/browse/JRUBY-5825
             Project: JRuby
          Issue Type: Bug
          Components: Extensions, Standard Library
    Affects Versions: JRuby 1.6.2
         Environment: Windows 7 / x86, Oracle Java SE 1.6.0.24, JRuby 1.6.2 
(Windows installer)
            Reporter: Wolfram Fischer


I tried to use the standard library debug-module with JRuby. 
When I run JRuby like 

jruby --1.9 --debug -rdebug test.rb # fails
jruby --debug -rdebug test.rb       # fails

the debug session starts, but when I require 'yaml' module, there is an error 
'method to_yaml' not defined.

The same program runs fine if it is just beeing run like 

jruby --1.9  test.rb # works
jruby        test.rb # works

With test.rb containing:
------------------------------------------
require 'yaml'
puts 'foo'
------------------------------------------



-- 
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


Reply via email to