Outstanding issues I know of:
1. With the CWD fixes, JRuby can *sorta* install RubyGems, with one issue. The issue appears to be that we don't handle the new additions to the load path correctly.
If you take a clean JRuby dir and try to install RubyGems into it, it will fail when it gets to the point of installing the sources gem. It appears to get "stuck" and never completes. If you kill that install, do a new build of JRuby, and re-run the install, it will complete successfully. Something about the new RubyGems code being added to our the jruby/lib/... load path causes it to go all funny without a new build. I have not investigated further.
The process:
1) clean JRuby pull from CVS
2) install RubyGems using setup.rb
3) kill install when it gets "stuck" trying to install sources gem
4) "ant jar" to build JRuby jar again
5) run install again, and it completes successfully
2. RubyGems appears to break the Rails generate script. With RubyGems installed, the generate script blows up in a rather weird way, where it appears that a date or fixnum is being yielded where a Configuration object is expected. I have not investigated further. generate completes successfully without RubyGems installed.
The issue running Rails generate script:
script/../config/../config/environment.rb:23:in `method_missing': undefined method `log_level=' for 2006:Fixnum (NoMethodError)
from script/../config/../config/environment.rb:23
from script/../config/../vendor/rails/railties/lib/commands/generate.rb:1:in `parse'
from C:/Jrubywork/jruby/lib/ruby/site_ruby/1.8/rubygems/specification.rb:301
from script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:214:in `date='
from (eval):4:in `load_specification'
from C:/Jrubywork/jruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:45:in `initialize'
from (eval):8:in `new'
from (eval):8:in `load_specification'
... 26 levels...
from script/../config/../vendor/rails/railties/lib/commands/generate.rb:1
from script\generate:2:in `require'
from script\generate:2
3. There are, of course, the other obvious issues with sockets and downloading gems.
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @
www.ventera.com