文件名称:ruby-build:编译并安装Ruby
文件大小:258KB
文件格式:ZIP
更新时间:2024-02-21 19:50:52
ruby hacktoberfest RubyShell
Ruby建造 ruby-build是一个命令行实用程序,可从源代码轻松安装几乎所有版本的Ruby。 它可以作为一个插件提供所述rbenv install命令,或作为独立的程序。 安装 # Using Homebrew on macOS $ brew install ruby-build # As an rbenv plugin $ mkdir -p " $( rbenv root ) " /plugins $ git clone https://github.com/rbenv/ruby-build.git " $( rbenv root ) " /plugins/ruby-build # As a standalone program $ git clone https://github.com/rbenv/ruby-build.git $ PREFIX=/usr/local ./ruby-build/install.sh 升级中 # Via Homebrew $ brew update && brew upgrade ruby-build # As an rbenv plugin