Hi everyone.

I have been a little bit secluded, while working on RbYAML. Right now
I'm trying to integrate it with JRuby, and this would seem easy to do.
I'm thinking something like this would suffice in yaml.rb:

require 'rbyaml'

module YAML
  # Make YAML module to act exactly as RbYAML
  def self.method_missing(name,*args)
    RbYAML.send(name,*args)
  end

  def self.const_missing(name)
    RbYAML.const_get(name)
  end
end

I have put rbyaml.rb and the rbyaml directory in src/builtin and rebuilt
the whole project, but for some reason JRuby says this:
yaml.rb:2:in `require': No such file to load -- rbyaml (LoadError)

I'm thinking I should upgrade to the latest version of JRuby and try
again. How is the status on this? Is there any more or less "current"
version to get hold of through CVS or tar-ball?

Regards
 Ola Bini


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to