美文网首页
Mac rvm 安装 ruby 2020-08-18

Mac rvm 安装 ruby 2020-08-18

作者: 蓝白七七 | 来源:发表于2020-08-19 00:05 被阅读0次
  • $ rvm list known 查询 Ruby 最新版本
  • 如果您 查询的 [ruby-]2.7[.0] 最新的版本比这个低
  • 那么是您 rvm 的 版本不是最新的
Mac ~ % rvm list known
# MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-head] # security released on head
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p330]
[ruby-]1.9.3[-p551]
[ruby-]2.0.0[-p648]
[ruby-]2.1[.10]
[ruby-]2.2[.10]
[ruby-]2.3[.8]
[ruby-]2.4[.9]
[ruby-]2.5[.7]
[ruby-]2.6[.5]
[ruby-]2.7[.0]
ruby-head

开始安装 ruby-2.7.0

Mac ~ % rvm install "ruby-2.7.0"
Warning, new version of rvm available '1.29.10', you are using older version '1.29.9'.
You can disable this warning with:   echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with:     echo rvm_autoupdate_flag=2 >> ~/.rvmrc
You can update manually with:        rvm get VERSION                         (e.g. 'rvm get stable')

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.15/x86_64/ruby-2.7.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system - please wait
Installing required packages: autoconf, automake, libtool, pkg-config, coreutils, libyaml, libksba, readline, zlib, openssl@1.1 - please wait
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/mac/.rvm/rubies/ruby-2.7.0, this may take a while depending on your cpu(s)...
ruby-2.7.0 - #downloading ruby-2.7.0, this may take a while depending on your connection...
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.7.0 - #extracting ruby-2.7.0 to /Users/mac/.rvm/src/ruby-2.7.0 - please wait
ruby-2.7.0 - #configuring - please wait
ruby-2.7.0 - #post-configuration - please wait
ruby-2.7.0 - #compiling - please wait
ruby-2.7.0 - #installing - please wait
ruby-2.7.0 - #making binaries executable - please wait
Installed rubygems 3.1.2 is newer than 3.0.8 provided with installed ruby, skipping installation, use --force to force installation.
ruby-2.7.0 - #gemset created /Users/mac/.rvm/gems/ruby-2.7.0@global
ruby-2.7.0 - #importing gemset /Users/mac/.rvm/gemsets/global.gems - please wait
ruby-2.7.0 - #generating global wrappers - please wait
ruby-2.7.0 - #gemset created /Users/mac/.rvm/gems/ruby-2.7.0
ruby-2.7.0 - #importing gemsetfile /Users/mac/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.7.0 - #generating default wrappers - please wait
ruby-2.7.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).

Install of ruby-2.7.0 - #complete 
Ruby was built without documentation, to build it run: rvm docs generate-ri

Mac ~ % ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
 
 

相关文章

  • Mac 构建 App 环境配置

    1、使用配置 安装Ruby(Mac) 如果之前使用rvm安装的ruby,烦请卸载rvm及安装的ruby 使用Hom...

  • CocoaPods安装

    Mac 环境下安装Pod Pod安装需要ruby,ruby需要rvm可以终端中查看rvm 安装没有 如果没有安装则...

  • CocoaPods安装、使用、更新

    1、检查Mac是否安装rvm 检查Mac是否安装了rvm(ruby version manager)。打开终端,r...

  • Mac上更新Ruby环境

    想要升级Mac上自带的Ruby环境,需要使用到RVM RVM:Ruby Version Manager 首先安装R...

  • CocoaPods安装

    每次重装mac后都要重新配置环境!!! 就是安装rvm,然后用rvm安装ruby,然后在安装cocoapods 安...

  • macOS Mojave 10.14.6 CocoaPods的安

    准备 首先要检查Mac是否安装了rvm。打开终端,输入指令 rvm -v 用rvm安装ruby环境 检查更新Rub...

  • Mac系统下ruby更新和配置

    文本记录于20200825 ruby安装的前提是要有rvm,rvm安装更新操作详见《Mac系统更新RVM到最新版本...

  • 《Ruby~笔记》0x00

    安装 ruby 开发环境 安装 RVM 载入 RVM 环境 修改 RVM 的 Ruby 源为 Ruby China...

  • CocoaPods

    多版本Pod共存 首先安装RVM,可以切换Ruby环境,安装多个版本Ruby。Mac默认是配置好Ruby环境的,终...

  • cocoapods 安装与使用

    1.首先, 要检查Mac是否安装了rvm(ruby version manager)。 打开终端 输入指令 rvm...

网友评论

      本文标题:Mac rvm 安装 ruby 2020-08-18

      本文链接:https://www.haomeiwen.com/subject/yzgtjktx.html