Hi.

I now have RubyGems installing without error the first time through.
I've written what I did to get this to work:
* New, pristine copy of JRuby
* Add my versions of RubyTime.java, TimeMetaClass.java
* Replace yaml.rb with the RbYAML yaml.rb
* Compile
* Add contents from C Ruby libraries
* Change fileutils.rb, add the java part to all places checking
RUBY_PLATFORM
* Add RbYAML
* Run setup script.

(Of course, I believe the old yaml.rb is upto the challange for this
too, but it's fun to try. And it seems the gemspec for sources uses
something it believes to be a Time format at a place, which is really
wrong. Helped me find an error in RbYAML.)

Anyway, I've also compared this installation with my rubygems C ruby
installation at this windows box. Except for my version of rubygems
being older, and no .bat and .cmd scripts getting installed (I get the
unix versions instead), everything is really correct. Let me repeat,
doing a RubyGems setup.rb will generate exactly the same RubyGems
installation as if it was done on C Ruby.

All nice and well. I will tackle the task of getting local install fully
functioning tomorrow probably.

Regards
 Ola Bini

Attachment: rubytime.patch
Description: Binary data

Reply via email to