Skip to content
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

Default Ruby in ~/.zprofile: command not found #354

Closed
nicolaguidi opened this issue Jan 5, 2016 · 1 comment
Closed

Default Ruby in ~/.zprofile: command not found #354

nicolaguidi opened this issue Jan 5, 2016 · 1 comment

Comments

@nicolaguidi
Copy link

I'm following the guide to set a specific Ruby version as default.
Following the instructions if I call the chruby command in the ~/.zprofile I get this error:
/Users/Myname/.zprofile:12: command not found: chruby.

I accomplished my goal calling chruby in the ~/.zshrc file, that makes me think it could be just a wrong instruction.

@nicolaguidi nicolaguidi changed the title Default Ruby in ~.zprofile: command not found Default Ruby in ~/.zprofile: command not found Jan 5, 2016
@postmodern
Copy link
Owner

I refined the wording a bit to mention that first you must load chruby.sh in your shell configuration, before adding the "chruby X.Y.Z" line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants