When any of the above are run, the following exception is thrown:
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

SystemCallError: Unknown error - No message available
_exec_internal at org/jruby/RubyKernel.java:1658
exec at file:/C:/jruby/jruby-1.7.0.RC1/lib/jruby.jar!/jruby/kernel19/kernel.rb:23
exec at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/cli.rb:428
__send__ at org/jruby/RubyBasicObject.java:1673
send at org/jruby/RubyKernel.java:2079
run at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/vendor/thor/task.rb:27
invoke_task at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/vendor/thor/invocation.rb:120
dispatch at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/vendor/thor.rb:275
start at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/vendor/thor/base.rb:408
(root) at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/bin/bundle:14
with_friendly_errors at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/lib/bundler/friendly_errors.rb:4
(root) at C:/jruby/jruby-1.7.0.RC1/lib/ruby/gems/shared/gems/bundler-1.2.1/bin/bundle:14
load at org/jruby/RubyKernel.java:1045
(root) at C:\jruby\jruby-1.7.0.RC1\bin\bundle:23

Activity

I have reproduced this issue. Hopefully, will get to the bottom of it soon. If you want a workaround in the meantime you can probably disable native execution and fall back to pure-Java support via 'set JRUBY_OPTS=-Xnative.enabled=false'. This may or may not be a good enough workaround as pure-Java mode does not emulate every possible thing we use native support for.

Thomas E Enebo
added a comment - 05/Oct/12 2:31 PM I have reproduced this issue. Hopefully, will get to the bottom of it soon. If you want a workaround in the meantime you can probably disable native execution and fall back to pure-Java support via 'set JRUBY_OPTS=-Xnative.enabled=false'. This may or may not be a good enough workaround as pure-Java mode does not emulate every possible thing we use native support for.

Fixed in jnr-posix 2.3.1. We introduced a patch last version of jnr-posix which actually properly detected .bat files. Unfortunately, this change broke executing .bat files with any arguments.

I added build of jnr-posix 2.3.1 into build_lib in the mean time. A fresh build of jruby from master should be enough for people to verify this is fixed for them. rc2 release will get put out once we get jnr-posix updated.

Thomas E Enebo
added a comment - 05/Oct/12 5:08 PM Fixed in jnr-posix 2.3.1. We introduced a patch last version of jnr-posix which actually properly detected .bat files. Unfortunately, this change broke executing .bat files with any arguments.
I added build of jnr-posix 2.3.1 into build_lib in the mean time. A fresh build of jruby from master should be enough for people to verify this is fixed for them. rc2 release will get put out once we get jnr-posix updated.

Benjamin Cardenas
added a comment - 08/Nov/12 8:44 AM - edited but i download the final 1.7.0 version and not work this patch. Not was integrated in final 1.7.0 version?. If not, how i can download the 1.7.0 rc2 version?