Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

61 Commits

Repository files navigation

vfox-ruby

Ruby language plugin for vfox.

Requirement

DistributionDependencies
Rubynone
JRubyJRE v8 or higher
TruffleRubybash, make, gcc, g++, openssl-dev, yaml-dev and zlib-dev
Ruby-buildSee ruby-build's instructions
mRuby-buildRuby or TruffleRuby

Install

After installing vfox, install the plugin by running:

vfox add ruby

Next, search and select the version to install. The --ruby-build flag is used to list all the versions that can be built and installed by ruby-build. By default, vfox keeps cache for available versions, use the --no-cache flag to delete the cache file.

vfox search ruby
vfox search ruby --ruby-build
vfox search ruby --no-cache && vfox search ruby

Install the latest stable version with latest tag.

vfox install ruby@latest
vfox install ruby@9.4.5.0 # JRuby
vfox install ruby@24.0.1 # TruffleRuby
vfox install ruby@24.0.1.jvm # TruffleRuby-jvm
vfox install ruby@3.3.3.rb # Ruby-build
vfox install ruby@3.3.0.mrb # mRuby-build

Compiling installation with ruby-build only works on Unix-like systems. All versions of Ruby and mRuby supported by ruby-build (except for the development versions like 3.4-dev) are available.

Some environment variables are served as following:

Environment variablesDefault valueDescription
Conda_Forgeconda-forgeconda-forge channel
GITHUB_URLhttps://github.com/GitHub mirror URL

Note: Conda_Forge has no effect for Windows.

Usage:

export Conda_Forge=https://prefix.dev/conda-forge
export GITHUB_URL=https://mirror.ghproxy.com/https://github.com/

FAQ

  • Why is there a lack of updated versions?
    Currently, vfox-ruby uses precompiled packages from conda-forge and Homebrew on Linux and macOS. You could open an issue in the ruby-feedstock repository to remind the maintainers to provide the latest build. Once the latest version is available, the plugin will be updated soon.

About

Ruby language plugin for vfox

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages