text 更新ruby mac

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 更新ruby mac相关的知识,希望对你有一定的参考价值。

rm -rf ~/.rvm
curl -L https://get.rvm.io | bash -s stable
reopen the terminal then: 

rvm install 2.6.1 
rvm use 2.6.1 --default 

We need to upgrade our entire version of RubyGems. To do this we have to run the following command
gem update --system 


Now we need to reinstall some gems we use globally 
gem install bundler 
gem install learn-co
gem install nokogiri 


Finally, we need to install the right version of Rails. To do this, please run:
gem install rails OR ADD your version -v '5.0.7.1' 


ruby -v 
bundle -v 



以上是关于text 更新ruby mac的主要内容,如果未能解决你的问题,请参考以下文章

Mac下更新Ruby版本

Mac os 10.11 更新ruby

MAC上尝试用RVM升级Ruby更新Ruby失败解决办法: No binary rubies available for: osx/11.1/x86_64/ruby-2.7.2.

强大的Rails/Ruby开发工具—RubyMine 2021 for Mac更新至v2021.3.3

Cocoapods安装 2018-11-01更新

mac 10.11.6,Xcode8下,ruby2.3安装,Cocoapods安装~