0
我已執行此命令
後,我得到這個錯誤"echo 'rvm_path="$HOME/.rvm"' >> ~/.rvmrc –".
。
正如本論壇中的人所建議的。 The program 'bundle' is currently not installed 現在,連我試圖改變目錄它顯示像
-:command not found
-:command not found
-:command not found
-:command not found
。我不知道發生了什麼,但在此之前,我用鋼軌通過/斌/慶典--login命令日誌記錄但現在我得到這個錯誤。
[email protected]:~$ rvm -v
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
rvm 1.22.10 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
[email protected]:~$ cd rails_projects
–: command not found
–: command not found
–: command not found
非常感謝soo真的有效。但是我想知道爲什麼每次我打開一個新終端來運行rvm或rails命令時,爲什麼需要登錄到bash(「/ bin/bash --login」)。這是我隨意解決的原因,所以我不這樣做每次都必須登錄。 – Abhinay
您可以將終端設置爲使用登錄shell,請參閱以下內容:http://rvm.io/integration/gnome-terminal - 需要登錄,因爲rvm會在某些情況下打印輸出(如警告),這會破壞進程(scp,X服務器)。 – mpapis