devbox add ruby
.
Adding Ruby to your shell
Rundevbox add [email protected] bundler
, or add the following to your devbox.json
devbox search ruby
. You can also view the available versions on
Nixhub
Ruby Plugin Support
Devbox will automatically create the following configuration when you install Ruby withdevbox add
.
Environment Variables
These environment variables configure Gem to install your gems locally, and set your Gem Home to a local folderDisabling the Ruby Plugin
You can disable the Ruby plugin by runningdevbox add ruby --disable-plugin
, or by setting the
disable_plugin
field in your devbox.json
:
Bundler
In case you are using bundler to install gems, bundler config file can still be used to pass configs and flags to install gems..bundle/config
file example: