chruby-fish is dependent on
chruby, please install it first.
wget -O chruby-fish-0.6.0.tar.gz https://github.com/JeanMertz/chruby-fish/archive/v0.6.0.tar.gz tar -xzvf chruby-fish-0.6.0.tar.gz cd chruby-fish-0.6.0/ sudo make install
chruby-fish can also be installed with homebrew:
brew install chruby-fish
Or the absolute latest chruby-fish can be installed from source:
brew install chruby-fish --HEAD
chruby is installed as a dependency of chruby-fish, if you installed chruby
manually, add the
--without-chruby flag to the above commands.
Add the following line to your
To enable auto-switching, also add the
If you use a custom install location for chruby, use the
CHRUBY_ROOT variable to point in the right direction.
For more general instructions, see the chruby documentation.
Invalid PATH warning
If you see a warning similiar to
set: Warning: path component /path/to/ruby-x.y.z/lib/ruby/gems/x.y.z/bin may not be valid in PATH. set: No such file or directory
you can silence it by creating that directory:
License & Authors
- Author: Jean Mertz email@example.com
The MIT License (MIT) Copyright (c) 2014 Jean Mertz <firstname.lastname@example.org> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.