Optionally support auto-switching · Issue #40 · postmodern/chruby (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
Many users have requested the ability to automatically switch to a Ruby when entering a directory which contains a .ruby-version
file. While in the directory and all sub-directories, the Ruby should remain set. Only when the user ascends the directory containing the .ruby-version
file should chruby switch back to system Ruby.
This feature is optional and would be enabled by loading /usr/local/share/chruby/auto.sh
.