direnv: /bin/bash: shell_session_update: command not found
Since today direnv is broken:
direnv: loading .envrc
/bin/bash: shell_session_update: command not found
direnv: error exit status 127
I’m using ZSH on Mac OS X 10.11.4.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 16
- Comments: 27 (11 by maintainers)
Commits related to this issue
- Work round travis-ci xcode bug * https://github.com/direnv/direnv/issues/210 * https://github.com/travis-ci/travis-ci/issues/6522 — committed to multi-build/multibuild by matthew-brett 8 years ago
- attempt to fix using src .envrc currently getting /Users/travis/build.sh: line 148: shell_session_update: command not found see https://github.com/direnv/direnv/issues/210 — committed to phoebe-project/phoebe2 by kecnry 8 years ago
- travis: workaround ugly shell warning on travis OSX There wae always a warning at the end of the log: /Users/travis/.travis/job_stages: line 152: shell_session_update: command not found Also see ... — committed to rudimeier/DirectionalityIndicator by rudimeier 7 years ago
- travis: workaround ugly shell warning on travis OSX There wae always a warning at the end of the log: /Users/travis/.travis/job_stages: line 152: shell_session_update: command not found Also see ... — committed to rudimeier/DirectionalityIndicator by rudimeier 7 years ago
- travis: workaround ugly shell warning on travis OSX There wae always a warning at the end of the log: /Users/travis/.travis/job_stages: line 152: shell_session_update: command not found Also see ... — committed to rudimeier/DirectionalityIndicator by rudimeier 7 years ago
- Try fix mac build issue https://github.com/direnv/direnv/issues/210 — committed to nopara73/MagicalCryptoWallet by nopara73 6 years ago
- Try fix osx CI issue https://github.com/direnv/direnv/issues/210 — committed to nopara73/MagicalCryptoWallet by nopara73 6 years ago
- Fix xcode build errors Build that was failing: https://travis-ci.org/travis-ci/travis-rubies/jobs/347426899 Error: ``` The command "unset JRUBY_OPTS" exited with 0. 3.61s$ ./build.sh update rvm 2.29... — committed to benoittgt/travis-rubies by benoittgt 6 years ago
- Fix xcode build errors for xcode7.2C Build that was failing: https://travis-ci.org/travis-ci/travis-rubies/jobs/347426899 Error: ``` The command "unset JRUBY_OPTS" exited with 0. 3.61s$ ./build.sh u... — committed to benoittgt/travis-rubies by benoittgt 6 years ago
- Circumvent RVM bug https://github.com/direnv/direnv/issues/210 — committed to bklang/.files by bklang 5 years ago
Awesome, glad I could help you out. Yes someone should contact the RVM guys and let them know.
To any visitor having the same issue, please +1 this issue so I know if it’s worth the effort.
I was having this issue and
rvm get head
fixed it. Thanks!Hit this today. The workaround didn’t work for me - since it appeared also when not in a direnv-enabled directory.
It appears the RVM devs have merged a patch to HEAD that appears to solve this for me. I ran
rvm get head
and this problem goes away.Googling
/bin/bash: shell_session_update: command not found
only yields one remotely relevant result which does not help me.the same problem I had met , run
rvm get head
, it works.did you try to run
rvm get head
? I don’t have access to a mac right now, if anybody has an idea on how to fix this issue let me know!I created a
~/.direnvrc
like so:and that works (good enough).
Faced this issue while creating a build system inside
sublime text 3
. Thanks,rvm get head
solved it.