Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/57.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/13.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 使用ruby安装RVM-安装正确吗?_Ruby On Rails_Rvm - Fatal编程技术网

Ruby on rails 使用ruby安装RVM-安装正确吗?

Ruby on rails 使用ruby安装RVM-安装正确吗?,ruby-on-rails,rvm,Ruby On Rails,Rvm,键入$curl-Lhttps://get.rvm.io |bash-s稳定--ruby 从输出来看,它似乎已成功运行: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 185 100 185 0 0 1

键入
$curl-Lhttps://get.rvm.io |bash-s稳定--ruby

从输出来看,它似乎已成功运行:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0    132      0  0:00:01  0:00:01 --:--:--   296
100 10009  100 10009    0     0   5244      0  0:00:01  0:00:01 --:--:-- 75255
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100   125  100   125    0     0    261      0 --:--:-- --:--:-- --:--:--  1168
100 1123k  100 1123k    0     0   760k      0  0:00:01  0:00:01 --:--:-- 1366k

Installing RVM to /Users/themaktravels/.rvm/
Adding rvm PATH line to /Users/themaktravels/.bashrc /Users/themaktravels/.zshenv.
RVM sourcing line found in /Users/themaktravels/.bash_profile          
/Users/themaktravels/.zprofile.

# RVM:  Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm/
# Screencast: http://screencasts.org/episodes/how-to-use-rvm

# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'

Installation of RVM in /Users/themaktravels/.rvm/ is almost complete:

  * To start using RVM you need to run `source /Users/themaktravels/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.



Installation of RVM in /Users/themaktravels/.rvm/ is almost complete:

* To start using RVM you need to run `source /Users/themaktravels/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
但是有人能解释一下run
source/Users/themaktravels/.rvm/scripts/rvm
是什么意思吗

是不是有人指示我把它当作命令来执行?我会关闭终端窗口,然后打开一个新窗口吗


提前谢谢你

您根据屏幕输出成功安装了RVM

您必须将RVM设置(信息)加载到路径中,这样您只需键入
RVM
,shell就会知道您提到了
/home/blablabla…/.RVM/bin/RVM
,并成功运行它


我建议您将这行代码放入~/.bashrc或~/.bash_登录文件(取决于您的Linux发行版),以便登录后自动加载

它说,在打开的shell窗口中运行它,可能需要重新打开它们。请检查有关安装的信息。第3节:重新加载外壳配置和测试