Ruby
To use languages.ruby.version or languages.ruby.versionFile, run the following command:
devenv inputs add nixpkgs-ruby github:bobvanderlinden/nixpkgs-ruby --follows nixpkgs
Options
languages.ruby.enable
Whether to enable tools for Ruby development.
Type: boolean
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.package
The Ruby package to use.
Type: package
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.bundler.enable
Whether to enable bundler.
Type: boolean
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.bundler.package
The bundler package to use.
Type: package
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.documentation.enable
Whether to enable documentation support for Ruby packages.
Type: boolean
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.lsp.enable
Whether to enable Ruby Language Server.
Type: boolean
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.lsp.package
The Ruby language server package to use.
Type: package
Default:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.version
The Ruby version to use.
This automatically sets the languages.ruby.package using nixpkgs-ruby.
Type: null or string
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix
languages.ruby.versionFile
The .ruby-version file path to extract the Ruby version from.
This automatically sets the languages.ruby.package using nixpkgs-ruby.
When the .ruby-version file exists in the same directory as the devenv configuration, you can use:
Type: null or absolute path
Default:
Example:
Declared by: - https://github.com/cachix/devenv/blob/main/src/modules/languages/ruby.nix