Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails rvm已安装但未找到_Ruby On Rails_Ruby_Rvm - Fatal编程技术网

Ruby on rails rvm已安装但未找到

Ruby on rails rvm已安装但未找到,ruby-on-rails,ruby,rvm,Ruby On Rails,Ruby,Rvm,在debian服务器上以这种方式安装rvm: root@aaa-env1-chef-demo-dal01:/home/partuck# curl -L https://get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total S

在debian服务器上以这种方式安装rvm:

root@aaa-env1-chef-demo-dal01:/home/partuck# curl -L https://get.rvm.io | bash -s stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0   1149      0 --:--:-- --:--:-- --:--:--  1628
100 22721  100 22721    0     0  84938      0 --:--:-- --:--:-- --:--:-- 84938
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg: Signature made Mon Mar 30 21:52:13 2015 UTC using RSA key ID BF04FF17
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
     Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
GPG verified '/usr/local/rvm/archives/rvm-1.26.11.tgz'

Upgrading the RVM installation in /usr/local/rvm/
Upgrade of RVM in /usr/local/rvm/ is complete.

# partuck,
#
#   Thank you for using RVM!
#   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.

 In case of problems: http://rvm.io/help and https://twitter.com/rvm_io

Upgrade Notes:

  * No new notes to display.

root@aaa-env1-chef-demo-dal01:/home/partuck# rvm list
bash: rvm: command not found
root@aaa-env1-chef-demo-dal01:/home/partuck#curl-Lhttps://get.rvm.io |bash-s稳定
%总接收百分比%x平均速度时间电流
数据加载上载总左速度
100   184  100   184    0     0   1149      0 --:--:-- --:--:-- --:--:--  1628
100 22721  100 22721    0     0  84938      0 --:--:-- --:--:-- --:--:-- 84938
正在下载https://github.com/rvm/rvm/archive/1.26.11.tar.gz
正在下载https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
gpg:签名由UTC 2015年3月30日星期一21:52:13使用RSA密钥ID BF04FF17完成
gpg:来自“Michal Papis(RVM签名)”的良好签名
gpg:警告:此密钥未经可信签名认证!
gpg:没有迹象表明签名属于所有者。
主键指纹:409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3
子密钥指纹:62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17
GPG验证“/usr/local/rvm/archives/rvm-1.26.11.tgz”
在/usr/local/RVM中升级RVM安装/
已完成/usr/local/RVM/中RVM的升级。
#帕塔克,
#
#感谢您使用RVM!
#我们真诚地希望RVM能让您的生活更加轻松愉快!!!
#
#~Wayne、Michal和团队。
如果出现问题:http://rvm.io/help 和https://twitter.com/rvm_io
升级说明:
*没有要显示的新注释。
root@aaa-env1-chef-demo-dal01:/home/partuck#rvm列表
bash:rvm:未找到命令

如您所见,rvm仍然不可用。源代码中没有
~/.rvm
目录(~/.source~/.rvm/scripts/rvm)

看起来您是在一个计算机上安装rvm的,请运行以下命令:

$ source /etc/profile.d/rvm.sh
然后再次检查:

$ rvm -v 

或者重新启动shell。thx

看起来像是在运行命令时安装rvm:

$ source /etc/profile.d/rvm.sh
然后再次检查:

$ rvm -v 

或者重新启动shell。thx

您可以通过编写

source ~/.rvm/scripts/rvm

.bashrc
文件中。

您可以通过编写

source ~/.rvm/scripts/rvm

.bashrc
文件中。

或重新启动shell实例!这只给出了
-bash:/etc/profile.d/rvm.sh:没有这样的文件或目录
。在
/etc/profile.d/
主页中都没有
~/.rvm
,或者只需重新启动shell实例!这只给出了
-bash:/etc/profile.d/rvm.sh:没有这样的文件或目录
。无论是
/etc/profile.d/
还是
主页中都没有
~/.rvm
,rvm让事情变得如此简单明了,这真是太好了!rvm使事情变得如此简单和直截了当,这真是太好了!