Giter Site home page Giter Site logo

vfox-ruby's Introduction

vfox-ruby

Ruby language plugin for vfox.

Requirement

Distribution Dependencies
Ruby none
JRuby JRE v8 or higher
TruffleRuby bash, make, gcc, g++, openssl-dev, yaml-dev and zlib-dev
Ruby-build See ruby-build's instructions
mRuby-build Ruby 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 [email protected]     # JRuby
vfox install [email protected]      # TruffleRuby
vfox install [email protected]  # TruffleRuby-jvm
vfox install [email protected]    # Ruby-build
vfox install [email protected]   # 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 variables Default value Description
Conda_Forge conda-forge conda-forge channel
GITHUB_URL https://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.

vfox-ruby's People

Contributors

yanecc avatar

Stargazers

 avatar Han Li avatar Cristian Molina avatar

Watchers

 avatar

Forkers

ccavolt

vfox-ruby's Issues

Doesn't support latest ruby versions

vfox search ruby --no-cache shows the latest version as 3.2.2, which is incorrect; the latest version is 3.3.2. Furthermore, if you try to install a more recent version, it says Unsupported version: 3.3.2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.