-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command not found: __rvm_cleanse_variables (again?) #770
Comments
please show me the output of |
So what I did was blow away everything in RVM (I'm a fairly religious bundler user, so it's not a big deal to me). I reinstalled RVM about a million times, and then this (of all the brain-dead things) worked:
I can't explain it, but it does work now. If I catch it again I'll run through all the diagnostics I can to try and nail it down. For now I'm closing the issue. Thanks! |
ZSH 4.3.15 has bugs related to arrays in early stages of loading shell, only ZSH 4.3.12 has proven to work good with RVM (full use of shell scripting). |
It's a little funky because I ran |
I have this issue and can't get rid of it, despite the numerous attempts to re-install zsh and rvm in different configurations (4.3.11 and 4.3.17 for zsh; stable and head for rvm). I would really appreciate some help. |
I was providing one more fix few hours ago, when did you updated rvm last time ? can you try again ? also if it does not work please join #rvm irc channel on freenode servers so we can debug & fix it in real-time. |
I hit by this issue too, on FreeBSD 8.2, zsh 4.3.17. Which branch I need to try? and one thing I'm sure is: enabling static link when building zsh with FreeBSD ports break regex module linking, cause rvm to totally useless. |
I tried master branch. no luck. |
I happen to have FreeBSD 9.0 environment which installed almost nothing. Tested with the env, with zsh 4.3.17 cause no issues I mentioned above. Will test again, on the environment I had issue. At this moment, I solved the issue by installing zsh 4.3.12 on alternate path from FreeBSD ports |
that would mean that the previous version of zsh was loading limited shell, you can verify that with:
|
Thanks. Anyway, for now, please close. If I encounter same issue again, I will try to figure out. |
I think we will get the same error few more times, it's just bug in the update, i think I solved all the obvious paths that could lead to this problem ... but who knows |
This answer on SO solved it for me: http://stackoverflow.com/questions/10585002/zsh-complains-about-rvm-rvm-cleanse-variables-function-definition-file-not-fo |
I just removed the |
@Jeweller-Tsai if that worked then it should be fine |
Had same issue, googling led me to this issue. Following @Jeweller-Tsai 's example I added to ~/.zlogin just before { Compile the completion dump to increase startup speed.zcompdump="${ZDOTDIR:-$HOME}/.zcompdump" which totally removes the issue for me. Using arch linux kernel 3.11.4-1, rvm 1.22.17 and zsh 5.0.2 with zprezto (oh-my-zsh fork or something of the like) Just realized this was old as heck and closed, but I suppose putting this here will help others. |
Deleting the |
I ran into this error and deleted my |
This tip helped me too! |
👍 Good tip |
the |
@Tam-Vo Thanks for share. |
I checked the ~/.zlogin and modfied the rvm script path, so the content of new .zlogin is:
and it works. I think you should check wether there is rvm in |
@Jeweller-Tsai, you are very clever。I don't know why, but I can avoid him.( ̄. ̄) |
I see #662 is closed, but I'm getting the same problem with MRI 1.9.3-p125:
I'm using ZSH (
zsh 4.3.11 (i386-apple-darwin11.0)
) on OS 10.7.3 with oh-my-zsh. I tried reverting back to stable, upgrading to head, and reinstalling RVM (by moving the old .rvm to .rvm-backup and then installing again), but it still gives me this error. I'm also experiencing issues where Rails is loosing its head and refusing to run the server (therails s
command tells me "no Ruby script found in input (LoadError)"). RVM version says it's at 1.10.2.I'm a little interested in why it's doing this. I think it's plenty possible that I did something wrong. Sorry if this is a duplicate!
The text was updated successfully, but these errors were encountered: