我在通過Windows使用vagrant在Ubuntu VM上安裝RVM時遇到問題。 RVM說我需要更改我的終端模擬器以允許登錄shell,並且我不知道如何執行此操作。這是來自RVM的消息的屏幕截圖。Vagrant無法在Windows上安裝RVM
http://s21.postimg.org/4k1s4ojaf/Capture.png
我在通過Windows使用vagrant在Ubuntu VM上安裝RVM時遇到問題。 RVM說我需要更改我的終端模擬器以允許登錄shell,並且我不知道如何執行此操作。這是來自RVM的消息的屏幕截圖。Vagrant無法在Windows上安裝RVM
http://s21.postimg.org/4k1s4ojaf/Capture.png
你登錄後運行:
rvm get head --auto-dotfiles
和重新登錄,不要修改shell初始化文件手動
你能解釋一下這是什麼嗎?我如何編寫relogin部分的腳本,因爲我想從一個Vagrantfile運行所有這些? – Lee 2013-04-29 19:34:05
看看https://github.com/rvm/rvm-binary - 在https://github.com/rvm/rvm-binary/blob/master/install-ruby.sh之後 - 你可以:源$ (rvm「$ 1」做rvm env --path)' - 其中'$ 1'在https://github.com/rvm/rvm-binary/blob/master/Vagrantfile#L29中給出 – mpapis 2013-04-29 21:48:01
AFAIK RVM的目的不是正常的Wndows CMD.EXE下的功能 - 你可能需要例如cygwin與bash。 – cmur2 2013-04-28 20:53:18
你如何登錄到Ubuntu的虛擬機?你有沒有額外的命令登錄到用戶? – mpapis 2013-04-28 21:40:12
我只是使用流浪ssh ... – Lee 2013-04-29 00:14:55