Skip to content

[TODO] $HOME/.rvm/scripts/functions/support: line 57: shell_session_update: command not found #9511

@timotheecour

Description

@timotheecour

travis fails with

/Users/travis/.rvm/scripts/functions/support: line 57: shell_session_update: command not found

.travis.yml is here: https://github.com/nim-lang/Nim/blob/5492190bc63326069233a8aaf9f2e567cfc555f8/.travis.yml
example travis log here: https://travis-ci.org/nim-lang/Nim/jobs/367840604

this error is very common on the web, however I couldn't find an answer that works

Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
/Users/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required
The command "rvm get head" failed and exited with 255 during .
Your build has been stopped.
/Users/travis/.travis/job_stages: line 166: shell_session_update: command not found

(eg: https://travis-ci.org/nim-lang/Nim/jobs/367878319)

@BanzaiMan - that is intentional. I need to halt the build on errors in my scripts. I agree with you that without that set -e the build would continue past the shell_session_update error, but I can't let other errors happen silently so I need the set -e. I worked around this by doing Project-OSRM/node-osrm@cdb5b6c and now builds are working fine.

This error seems to affect pretty much every project that uses -e since at least 2015. How do we fix this?

related:

#9486
#6522

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions