如何在Windows 7上安装RVM?
它说要安装RVM,并使用以下脚本:
user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
但是对于这个我一点头绪也没有。如果我在命令提示符中输入它,就会出现一个错误消息,说它在这个时候是“意外的”。
我该怎么安装RVM?
对于你来说没有RVM!来自RVM的FAQ:
RVM在Windows上工作吗?将来会吗?
不会。如果您想在Windows上管理多个Ruby版本,请使用Gordon Thiesfeld的优秀工具pik。您可以在GitHub上找到它。有计划在RVM 2.0中包括Windows支持。
Pik是Windows平台上的RVM。 Pik是一个用于管理多个Ruby版本的工具,可从Windows命令行(cmd.exe)、Windows PowerShell或Git Bash中使用。 请访问pik on windows了解更多信息。
确实,我认为我们可以在Windows上使用cygwin来安装RVM。
链接:http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/
RVM支持大多数类UNIX系统和Windows(使用Cygwin或Bash on Ubuntu on Windows)。 https://rvm.io/rvm/install
Bash on Ubuntu on Windows对我来说很好用。