From: Thomas E Enebo Date: 2011-01-12T01:21:46+09:00 Subject: Re: [ANN] JRuby 1.6.0.RC1 released On Tue, Jan 11, 2011 at 9:59 AM, Robert Klemme wrote: > On Tue, Jan 11, 2011 at 4:04 PM, Thomas E Enebo wrote: >> The JRuby community is pleased to announce the release of JRuby 1.6.0.RC1. >> >> - Homepage: http://www.jruby.org/ >> - Download: http://www.jruby.org/download >> >> JRuby 1.6.0.RC1 is the first release candidate of JRuby 1.6.0. >> >> JRuby 1.6.0 is the largest release of JRuby to date. This release >> fixes hundreds >> of user issues and brings compatibility with Ruby 1.9.2 to a very high >> level. We >> have made Windows a primary supported platform by adding it as a continuous >> integration platform, and JRuby 1.6 will provide Windows-based Ruby users with >> the best experience yet. This release integrates experimental support for C >> extensions based on Ruby's C API. And as with all major releases, we have >> improved stability and performance across the board in response to real-world >> user input. >> >> We encourage Ruby and JRuby users alike to test out 1.6.0.RC1 to help us shake >> out remaining issues.  It would be especially helpful if users would test out >> 1.9 mode (by passing --1.9 flag) to help us round out our 1.9.2 compatibility >> before the final 1.6.0 release. >> >> Major Features: >> >> * Ruby 1.9.2 language and API compatibility >> ** Not implemented: Encoding::Converter, non-ASCII identifiers, ripper, fiddle >> * Improved Ruby call performance >> * Built-in profiler (--profile, --profile.graph) >> * RubyGems 1.4.2 >> * RSpec no longer bundled >> * Ruby-debug gem unbundled, since it installs correctly now >> * C Extension support (experimental) >> * RubyGems Maven support (preview) >> * Improved compatibility and user experience on Windows >> * jruby-complete.jar now includes 1.9 standard library >> * Embedding API refinements >> * Over 2000 commits and 265 issues resolved. > > Great!  Thanks a lot! > > My first attempt at trying 1.9 mode failed miserably: > > 16:56:30 jruby.org$ vi /c/Temp/test.rb > 16:56:42 jruby.org$ cat /c/Temp/test.rb > > puts RUBY_VERSION > > 16:56:49 jruby.org$ jruby /c/Temp/test.rb > 1.8.7 > 16:56:59 jruby.org$ jruby --1.9 /c/Temp/test.rb > Error opening script file: C:/Archives/jruby.org/c/Temp/test.rb (The > system cannot find the path specified) > 16:57:06 jruby.org$ > > 16:57:06 jruby.org$ uname -a > CYGWIN_NT-5.1 padrklemme2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin > > Somehow option --1.9 prevents recognition of the file although it > works without.  Any ideas? Opened as an issue: http://jira.codehaus.org/browse/JRUBY-5329 Looks like we are passing --1.9 through to point in our bash script where we think the arg is a file...which it isn't... You can work around this by setting the environment variable JRUBY_OPTS="--1.9" (e.g. JRUBY_OPTS="--1.9" jruby /c/heh.rb). We plan on fixing this for RC2. -Tom > > Kind regards > > robert > > -- > remember.guy do |as, often| as.you_can - without end > http://blog.rubybestpractices.com/ > > -- blog: http://blog.enebo.com       twitter: tom_enebo mail: tom.enebo@gmail.com