簡體   English   中英

用ruby安裝RVM-正確安裝了嗎?

[英]Install RVM with ruby - did this install correctly?

鍵入$ curl -L https://get.rvm.io | bash -s stable --ruby $ curl -L https://get.rvm.io | bash -s stable --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.

但是有人可以解釋一下運行source /Users/themaktravels/.rvm/scripts/rvm嗎?

是否指示我將其作為命令運行? 我可以關閉終端窗口,然后打開一個新窗口。

先感謝您!

根據界面顯示安裝成功。

您必須將RVM設置(信息)加載到PATH中,以便只需要鍵入rvm ,並且外殼程序知道您正在提及/home/blabla.../.rvm/bin/rvm ,然后成功運行它。

我建議您將這一行代碼放入〜/ .bashrc或〜/ .bash_login文件(取決於Linux發行版),以便在您登錄后自動加載。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM