-
-
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
rvm install … should ensure creation of bin directory #965
Comments
hehe, well RVM only supports Bash and Zsh for shells. Never heard of Fish Shell myself, and I too run a Mac (MBP). I'm not understanding exactly what the issue is. Please uninstall RVM completely, set up debugging in your shell, and rerun the rvm install, then gist the entire output and add the https url returned to this report. ( In bash that would be Incidently, the $HOME/.rvm/gems/rbx-2.0/bin directory is only created if gems are actually installed. Since the $HOME/.rvm/gemsets/default.gems file is empty (we don't actually install any gems into the 'default' gemset currently) the bin dir is not created. There is no need for it to be created. Its added to the path simply so that if there were any gems there, their binaries would be loaded. When you do install a gem via We don't see this behaviour under our supported shells which are Bash and Zsh. I surmise that your Fish Shell doesn't support non-existent directory preloading. Thats not necessarily a bad thing, its just not behaviour akin to the more mature shells like Bash and Zsh which simply use the PATH for executable file searches. BTW, under both Linux and OSX your ∴ rvm install rbx-2.0 rbx-2.0 - adjusting #shebangs for (erb ri rdoc). rbx-2.0: system: rvm: ruby: homes: binaries: environment: |
Fish is not officially supported, however some help page https://rvm.io/integration/fish/ exists. And yes, in Fish you can't append $PATH with some non-existing directory. I know that creation of ~/.rvm/gems/…/bin can be skipped in both supported shells, but I also believe that there is no good reason not to create them eagerly, especially that it would make rvm working in Fish. (Fish would still complain about some problems, but work anyway). |
The lack of bin directory makes rvm not working at all for Fish Shell 1.23.1 on OS X 10.6.
When I try to switch to this ruby (
rvm use rbx-2.0
) I am getting error likeCreating empty directory with
mkdir
solves the problem, but rvm could do it for me.The text was updated successfully, but these errors were encountered: