JRuby Support extremely outdated

The most recent release of JRuby installed on the containers is 1.7.19, released 9 months ago. JRuby 9k is missing, but has been out for 3 months. The current stable version of JRuby 9k (jruby- cannot currently install gems on CircleCI.

I have sent questions to support related to this, but haven’t really received any clear answers.

We just shipped jruby- last night. Still need to update our doc, but you can already specify it in your circle.yml.

@kimh thank you, glad to hear. Is there anything I can do to get jruby- to work in the meantime?

Ah, we created the new container image about a week ago but jruby- was released 6 days ago :pensive:

You can still use with the following circle.yml.

    version: jruby-

but this makes your build a bit slower because it basically does rvm install jruby- in every build.

We’ll pre-install jruby- in the next container image release.

@kimh yes, that’s what I have right now, but I’m unable to install any gems.

@mitchellhenke can you share some output or build URLs of what happens when you try to install gems?

@mitchellhenke I did some digging and it looks like the latest version of jruby on CircleCI is affected by this bug.

I was able to get this to work by updating to

ubuntu@box1309:~/api$ which gem
ubuntu@box1309:~/api$ gem install bundler --pre
Fetching: bundler-1.10.6.gem (100%)
Successfully installed bundler-1.10.6
1 gem installed

It looks like it has been fixed in the latest and should be fixed for sure once is released. We will include this version once it has been released in our image. In the meantime you can workaround this by adding the following to your circle.yml file.

    version: jruby-

Can you five this a try and let me know if it works for you?

FYI: We’ve released a new container image that preinstalls jruby- and

1 Like

When jruby- will be available?