Jruby 1.7.22 install failing

jruby

#1

My JRuby builds that were previously working fine on CircleCI 1.0 started failing today. I tried rebuilding previously passing builds and they also failed, so I don’t think it is because of anything I changed. The problem seems to be with the the installation of JRuby 1.7.22 trying to run mvnw which isn’t present,

jruby-1.7.22 is not installed - installing.
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/x86_64/jruby-1.7.22.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
$JAVA_HOME was empty, setting up JAVA_HOME=/usr/lib/jvm/jdk1.8.0, if it fails try setting JAVA_HOME to something sane and try again.
Cloning from https://github.com/jruby/jruby.git, this may take a while depending on your connection|/-.
HEAD is now at dce612ecd0 Merge ruby/spec commit '76e0c03d7916b26b92a4c871f68e333846bab6f4'
From ssh://github.com:/jruby/jruby
 * branch                  master     -> FETCH_HEAD
Already up-to-date.
git checkout 1.7.22
Copying from repo to src path...
jruby-1.7.22 - #/opt/circleci/.rvm/src/jruby-1.7.22/mvnw|.
Error running '/opt/circleci/.rvm/src/jruby-1.7.22/mvnw',
showing last 15 lines of /opt/circleci/.rvm/log/1505492439_jruby-1.7.22/mvnw.log

Here are the contents of mvnw.log:

[2017-09-15 11:21:06] /opt/circleci/.rvm/src/jruby-1.7.22/mvnw
current path: /opt/circleci/.rvm/src/jruby-1.7.22
GEM_HOME=/opt/circleci/.rvm/gems/ruby-2.2.6
PATH=/home/ubuntu/.yarn/bin:/opt/circleci/nodejs/v4.2.6/bin:/opt/google-cloud-sdk/bin:/home/ubuntu/.local/bin:/opt/ghc/8.0.2/bin:/opt/cabal/1.24/bin:/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:/home/ubuntu/.composer/vendor/bin:/opt/circleci/.phpenv/shims:/opt/circleci/.phpenv/bin:/opt/circleci/.rvm/gems/ruby-2.2.6/bin:/opt/circleci/.rvm/gems/ruby-2.2.6@global/bin:/opt/circleci/.rvm/rubies/ruby-2.2.6/bin:/home/ubuntu/.go_workspace/bin:/usr/local/go/bin:/opt/circleci/nodejs/v4.2.6/bin:/opt/circleci/.pyenv/shims:/opt/circleci/.pyenv/bin:/opt/google-cloud-sdk/bin:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/apache-maven/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/gradle-1.10/bin:/opt/circleci/.rvm/bin:/opt/circleci/.rvm/bin
GEM_PATH=/opt/circleci/.rvm/gems/ruby-2.2.6:/opt/circleci/.rvm/gems/ruby-2.2.6@global
command(1): /opt/circleci/.rvm/src/jruby-1.7.22/mvnw
/opt/circleci/.rvm/scripts/functions/utility_logging: line 210: /opt/circleci/.rvm/src/jruby-1.7.22/mvnw: No such file or directory

Seems to simply be an indication that mvnw does not exist.


#2

I just verified that rvm fails to install jruby-1.7.22 with the same error outside of CircleCI, so the problem seems to be either with RVM or JRuby.


#3