Search code examples
rvmjrubytravis-ci

Use JRuby 9K on Travis CI


I've updated the Travis configuration of one of my gems to include jruby-9.0.0.0 instead of jruby-9.0.0.0.rc2, but it looks like Travis is still using jruby-9.0.0.0.pre1. Is there anything I can do to force Travis to use the production 9K release?


Solution

  • try adding the following script, to get rvm head installed :

    'if [[ "$TRAVIS_RUBY_VERSION" =~ "jruby" ]]; then rvm get head && rvm reload && rvm use --install $TRAVIS_RUBY_VERSION; fi'
    

    ... then rvm: jruby-9.0.0.0 should work