jruby-launcher
jruby-launcher copied to clipboard
JRuby's native launcher executable
I recently installed JRuby 9.3.1.0 using [ruby-build](https://github.com/rbenv/ruby-build). The _ruby-build_ recipe will install the _jruby-launcher_ gem, which will replace _bin/jruby_ in the distribution. When I try to run JRuby, I see...
When I try to install JRuby with ASDF (which uses ruby-build), it tries to install `jruby-launcher` which fails on my M1 Mac with the error: ``` /var/folders/zf/ppjmd8mj7qb8w1849xqyjgp80000gn/T/ruby-build.20211105080558.71908.PwEKZ3/jruby-9.3.1.0 /var/folders/zf/ppjmd8mj7qb8w1849xqyjgp80000gn/T/ruby-build.20211105080558.71908.PwEKZ3 ~ Fetching...
The symlink-resolving logic added to the bash launcher in https://github.com/jruby/jruby/issues/6689#issuecomment-854089011 needs to be ported here and released to address that issue. Ping @mrnoname1000 for help!
This PR **uses expect syntax** to avoid warnings in test output. And: In order for tests to pass on my laptop, I needed to **unset `$JAVACMD` as well**.
As a result of rbenv/ruby-build#1293 we discovered a build issue for jruby-launcher. JRuby 1.6.8, for example, fails 'gem install jruby-launcher'. ``` /home/deploy/.rbenv/versions/jruby-1.6.8/bin/jruby extconf.rb NameError: uninitialized constant RbConfig ``` In fact...
Most of the issues reported under https://github.com/jruby/jruby/issues/6049 appear to be due to the fact that we can't detect that the JDK being used supports modules. Normally if you have JAVA_HOME...
This could be some oddity in how powershell passes arguments through to our launcher: ``` PS C:\dev\jruby> jruby -Xbacktrace.style=raw -e 1 jruby: warning: unknown property jruby.backtrace Error opening script file:...
Most Ruby scripts that use a shebang will want `ruby` to be the command name, but even after installing jruby-launcher our bin/ruby is still a bash script. We should make...
See https://github.com/jruby/jruby/issues/6042#issuecomment-576437707 Currently it's not obvious how to make `ruby ...` work on Windows. On Unix this is usually done easily with `ln -s jruby ruby`, but on Windows the...
GCC 6 changed the default C++ standard from C++98 to C++14 (https://gcc.gnu.org/gcc-6/changes.html) and this prevents jruby-launcher from building. The reason why this repository is affected due to the change in...