fry alternatives and similar gems
Based on the "Environment Management" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of fry or a related project?
A simple ruby version manager for fish.
git clone https://github.com/terlar/fry.git cd fry make user-install
git clone https://github.com/terlar/fry.git cd fry make install
yaourt -S fry
brew tap igas/fry brew install fry
If you want to install
master version, add
--HEAD to install command.
fry will look for rubies in
~/.rubies. This can be configured as you like.
Install (with ruby-install or ruby-build)
# To see available rubies fry install # To install a specific ruby version fry install jruby-1.7.9
To see which configuration options are available and your current configuration,
you can execute the command
This option determines where
fry looks for rubies.
# To see the path fry config path # To set the path fry config path /opt/rubies
This option determines if your ruby path should be prepended or not. However it will never be at the end of your
PATH since we are using
fish_user_paths which is prepended to
PATH. However if you have specified other paths inside your
fish_user_paths then those will have higher priority. To change this behavior you can toggle this. The default behavior is append.
# To prepend to the fish_user_paths fry config prepend on # To append to the fish_user_paths fry config prepend off
If you want
fry to look for a .ruby-version file and
automatically switch ruby on directory change then you can enable auto-switching. This is off by default.
# To see the auto-switch status fry config auto # To enable auto-switch fry config auto on # To disable auto-switch fry config auto off
When you have a
.ruby-version file in your home directory this will be
used used by default. If you want it to pickup the custom ruby-version
per project you have to create a
.praxconfig in your home directory or
for pow, you need to create a
.powenv inside every project folder.
Run the following commands:
# If you have auto-switch, it will use whatever is specified in your .ruby-version fry env > ~/.praxconfig # Specify a specific ruby to run fry env rbx-2.2.6 > ~/ruby_project/.praxenv
If you want to select which installer
fry should use, you can do it
through this option. There are currently support for
ruby-build. But you could easily define your own wrapper if you use
some other tool.
# To list available installer wrappers fry installers # To see the installer used fry config installer # To set the desired installer fry config installer ruby-install
If you wish to set a default Ruby, simply call
If you have enabled auto-switching, simply create a
.ruby-version file in your home directory:
echo 'ruby-1.9' > ~/.ruby-version
List available rubies:
fry system * 1.9.3-p392 2.0.0-p0 jruby-1.7.3
fry install <tab> fry install 2.0.0-p247 fry use 2.0.0-p247