zsh: command not found: rvm问题

2023-11-23 14:32
文章标签 问题 zsh found command rvm

本文主要是介绍zsh: command not found: rvm问题,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

 在Mac环境下安装rvm

Last login: Fri Aug  7 15:27:26 on ttys000
Holothurian-iMac ~ % ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
Holothurian-iMac ~ % rvm -v
zsh: command not found: rvm
Holothurian-iMac ~ % git clone https://github.com/rvm/rvm.git
Cloning into 'rvm'...
remote: Enumerating objects: 92, done.
remote: Counting objects: 100% (92/92), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 59450 (delta 57), reused 53 (delta 29), pack-reused 59358
Receiving objects: 100% (59450/59450), 20.07 MiB | 30.00 KiB/s, done.
Resolving deltas: 100% (38714/38714), done.
Holothurian-iMac ~ % pwd
/Users/holothurian

下载完之后、根据路径、到rvm文件夹下、 找到 /bin/rvm-installer中 rvm-installer双击、

Last login: Fri Aug  7 15:42:51 on ttys001
/Users/holothurian/rvm/binscripts/rvm-installer ; exit;
Holothurian-iMac ~ % /Users/holothurian/rvm/binscripts/rvm-installer ; exit;
Downloading https://github.com/rvm/rvm/archive/master.tar.gz
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54Could not download 'https://github.com/rvm/rvm/archive/master.tar.gz'.curl returned status '56'.Downloading https://bitbucket.org/mpapis/rvm/get/master.tar.gz
Installing RVM to /Users/holothurian/.rvm/Adding rvm PATH line to /Users/holothurian/.profile /Users/holothurian/.mkshrc /Users/holothurian/.bashrc /Users/holothurian/.zshrc.Adding rvm loading line to /Users/holothurian/.profile /Users/holothurian/.bash_profile /Users/holothurian/.zlogin.
Installation of RVM in /Users/holothurian/.rvm/ is almost complete:* To start using RVM you need to run `source /Users/holothurian/.rvm/scripts/rvm`in all your open shell windows, in rare cases you need to reopen all shell windows.
Thanks for installing RVM 🙏
Please consider donating to our open collective to help us maintain RVM.👉  Donate: https://opencollective.com/rvm/donate[进程已完成]

安装完了rvm之后、还需要配置环境变量

Holothurian-iMac ~ % vi ~/.bash_profile[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*Holothurian-iMac ~ % source ~/.rvm/scripts/rvm

查看当前版本、

Holothurian-iMac ~ % rvm -v
rvm 1.29.10 (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
Holothurian-iMac ~ % 

 

这篇关于zsh: command not found: rvm问题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/418594

相关文章

Redis出现中文乱码的问题及解决

《Redis出现中文乱码的问题及解决》:本文主要介绍Redis出现中文乱码的问题及解决,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1. 问题的产生2China编程. 问题的解决redihttp://www.chinasem.cns数据进制问题的解决中文乱码问题解决总结

全面解析MySQL索引长度限制问题与解决方案

《全面解析MySQL索引长度限制问题与解决方案》MySQL对索引长度设限是为了保持高效的数据检索性能,这个限制不是MySQL的缺陷,而是数据库设计中的权衡结果,下面我们就来看看如何解决这一问题吧... 目录引言:为什么会有索引键长度问题?一、问题根源深度解析mysql索引长度限制原理实际场景示例二、五大解决

Springboot如何正确使用AOP问题

《Springboot如何正确使用AOP问题》:本文主要介绍Springboot如何正确使用AOP问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录​一、AOP概念二、切点表达式​execution表达式案例三、AOP通知四、springboot中使用AOP导出

Python中Tensorflow无法调用GPU问题的解决方法

《Python中Tensorflow无法调用GPU问题的解决方法》文章详解如何解决TensorFlow在Windows无法识别GPU的问题,需降级至2.10版本,安装匹配CUDA11.2和cuDNN... 当用以下代码查看GPU数量时,gpuspython返回的是一个空列表,说明tensorflow没有找到

解决未解析的依赖项:‘net.sf.json-lib:json-lib:jar:2.4‘问题

《解决未解析的依赖项:‘net.sf.json-lib:json-lib:jar:2.4‘问题》:本文主要介绍解决未解析的依赖项:‘net.sf.json-lib:json-lib:jar:2.4... 目录未解析的依赖项:‘net.sf.json-lib:json-lib:jar:2.4‘打开pom.XM

IDEA Maven提示:未解析的依赖项的问题及解决

《IDEAMaven提示:未解析的依赖项的问题及解决》:本文主要介绍IDEAMaven提示:未解析的依赖项的问题及解决,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝... 目录IDEA Maven提示:未解析的依编程赖项例如总结IDEA Maven提示:未解析的依赖项例如

Redis分片集群、数据读写规则问题小结

《Redis分片集群、数据读写规则问题小结》本文介绍了Redis分片集群的原理,通过数据分片和哈希槽机制解决单机内存限制与写瓶颈问题,实现分布式存储和高并发处理,但存在通信开销大、维护复杂及对事务支持... 目录一、分片集群解android决的问题二、分片集群图解 分片集群特征如何解决的上述问题?(与哨兵模

SpringBoot+Redis防止接口重复提交问题

《SpringBoot+Redis防止接口重复提交问题》:本文主要介绍SpringBoot+Redis防止接口重复提交问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不... 目录前言实现思路代码示例测试总结前言在项目的使用使用过程中,经常会出现某些操作在短时间内频繁提交。例

解决Entity Framework中自增主键的问题

《解决EntityFramework中自增主键的问题》:本文主要介绍解决EntityFramework中自增主键的问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝... 目录Entity Framework中自增主键问题解决办法1解决办法2解决办法3总结Entity Fram

MySQL 设置AUTO_INCREMENT 无效的问题解决

《MySQL设置AUTO_INCREMENT无效的问题解决》本文主要介绍了MySQL设置AUTO_INCREMENT无效的问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参... 目录快速设置mysql的auto_increment参数一、修改 AUTO_INCREMENT 的值。