Ruby 2.5.0 builds failing on CircleCI 1.0 due to missing `/home/travis`

If you use Ruby 2.5.0 on our legacy 1.0 platform you may be affected by this bug.

bash: /opt/circleci/.rvm/rubies/ruby-2.5.0/bin/bundle:
  /home/travis/.rvm/rubies/ruby-2.5.0/bin/ruby: bad interpreter: No such file or directory

On the Ubuntu 14.04 Trusty build images we’re still using rvm to manage and install rubies:

In an ironic turn of fate, we’ve received several reports of builds failing on CircleCI due to a dependency on the /home/travis directory when installing the Ruby 2.5.0 binaries that TravisCI provides for rvm users.

(More on the Travis CI precompiled Ruby binaries here:

There is a workaround:

You will need to add this to your config:

sudo ln -s /opt/circleci /home/travis

A complete example:

    - sudo ln -s /opt/circleci /home/travis

    version: 2.5.0

    - ruby -v

Here is an example build which shows it:

Please reach out if you have any questions or concerns.


We’ve applied a fix on the backend so this workaround is no longer needed.

1 Like