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
I should also mention due to a dependent project forgetting to push
their maven poms, we are unable to push RC1 until they do…So maven
users will have to wait a short amount of time until we get things
straightened out.
-Tom
On Tue, Jan 11, 2011 at 9:04 AM, Thomas E Enebo [email protected]
wrote:
On Jan 11, 2011, at 9:04 AM, Thomas E Enebo wrote:
The JRuby community is pleased to announce the release of JRuby 1.6.0.RC1.
Does this release ship with the jruby-win32ole gem installed by default?
It does for the windows installer. The -bin dist will need a gem
install jruby-win32ole (we didn’t include it in dist since most
downloaders are not for windows).
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.
Nice! I have attached a script to the issue I am frequently using to
execute windows programs from cygwin prompts. Maybe you can -steal-
copy some ideas from it.
On Tue, Jan 11, 2011 at 11:09 AM, Robert K. [email protected] wrote:
copy some ideas from it.
Cool! Thanks Robert…hopefully we can steal-copy…I sort of wish
there was just some infrastructure for sh/bash launchers somewhere…
I’d recommend testing your app on 1.6.1RC1 to see if there are any
issues we need to fix, but not going to production with it unless
you’re really brave
I could see making the ‘env’ change, but so far we have been unable to
get a fully-functional sh-based ‘jruby’ executable. There’s enough
bashisms we depend on that it’s hard to make a conversion…and sadly
we’re not sh experts, so we don’t know the right way to make it
happen.
If there are sh experts out there, we would appreciate help coming up
with a portable sh-based ‘jruby’ script. We have a start, in jruby.sh
(may or may not be in the distributions), but it’s missing things from
the bash version: cygwinisms, proper quoting of arguments, and so on.
I attempted to fix the quoting, but it seems sh is simply crippled
here, lacking the bash arrays we use for processing arguments. Help is
needed.
The alternative which may help many of you would be to install the
‘jruby-launcher’ gem. This is a native executable that downloads,
installs, and replaces the ‘jruby’ command with a real binary. It
should route around any issues with bash, env, or sh.
I could see making the ‘env’ change, but so far we have been unable to
get a fully-functional sh-based ‘jruby’ executable. There’s enough
bashisms we depend on that it’s hard to make a conversion…and sadly
we’re not sh experts, so we don’t know the right way to make it
happen.
If there are sh experts out there, we would appreciate help coming up
with a portable sh-based ‘jruby’ script.
On Sat, Jan 15, 2011 at 7:40 AM, Oliver Schad [email protected] wrote:
Charles Oliver N. wrote:
If there are sh experts out there, we would appreciate help coming up
with a portable sh-based ‘jruby’ script.
I will take a look.
Great, keep us posted. Feel free to open a bug to track it at http://bugs.jruby.org. We can’t move to just using the sh version
unless it can do everything the bash version does, and so far nobody’s
been able to make that happen.