Ramiel Ramiel - 4 months ago 24
Ruby Question

Travis build fails: Ruby ruby-2.2.5 is not installed

My travis build suddenly started to fail with (between before_deploy and deploy):

Ruby ruby-2.2.5 is not installed.

The command "rvm 2.2.5 --fuzzy do ruby -S gem install dpl" failed and exited with 2 during .

Ideas how to fix this?


- export PATH=$PATH:${CLOUD_SDK_PATH}/bin
- openssl aes-256-cbc -K $encrypted_c09a72752447_key -iv $encrypted_c09a72752447_iv -in contrib/gae/secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar


- provider: script
skip_cleanup: true
script: fab deploy:target='DEV',ci=True
on: develop


I just hit this too. As a workaround, you might be able to install ruby 2.2.5 explicitly, adding an install command to my before_install block works for me:

before_install: - rvm install 2.2.5