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

Most upvoted comments

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:

# Circumvent https://github.com/direnv/direnv/issues/210
#
shell_session_update() { :; }

and that works (good enough).

Faced this issue while creating a build system inside sublime text 3. Thanks, rvm get head solved it.