ruby 如何在 Windows 7 上安装 RVM
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8845432/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install RVM on Windows 7
提问by user1070381
How do I install RVM on Windows 7?
如何在 Windows 7 上安装 RVM?
It says to install RVM, and use the following script:
它说要安装 RVM,并使用以下脚本:
user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
But I have no idea what to do with it. If I type it into cmd an error message comes up saying it was 'unexpected at this time'.
但我不知道该怎么办。如果我将它输入到 cmd 中,则会出现一条错误消息,说它“此时出乎意料”。
What do I do to install RVM?
我该怎么做才能安装 RVM?
回答by Sergio Tulentsev
No RVM for you! From RVM's FAQ:
没有适合您的 RVM!来自RVM 的常见问题解答:
Does RVM work on windows? Will it in the future?
NO. If you would like to manage multiple versions of ruby on windows please use pikwhich is an excellent tool by Gordon Thiesfeld. You can find it on GitHub. There are plans to include windows support in RVM 2.0.
RVM 在 Windows 上工作吗?将来会吗?
不。如果您想在 Windows 上管理多个版本的 ruby,请使用pik,这是 Gordon Thiesfeld 的一个出色工具。你可以在 GitHub 上找到它。有计划在 RVM 2.0 中包含 Windows 支持。
回答by kunnu
Pik is an RVM for windows pik is a tool to manage multiple versions of ruby on Windows. It can be used from the Windows command line (cmd.exe), Windows PowerShell, or Git Bash. follow this link pik on windows
Pik 是 Windows 的 RVM pik 是在 Windows 上管理多个版本的 ruby 的工具。它可以从 Windows 命令行 (cmd.exe)、Windows PowerShell 或 Git Bash 中使用。在 Windows 上点击此链接pik
回答by user1927761
Yes indeed i think we can use cygwin for having RVM on windows
是的,我认为我们可以使用 cygwin 在 Windows 上安装 RVM
Link: http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/
链接:http: //blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/
回答by Marko
you can install pik trough chocolatey https://chocolatey.org/packages/pik
你可以安装 pik 槽巧克力 https://chocolatey.org/packages/pik
回答by Rafael Beck
RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). https://rvm.io/rvm/install
RVM 支持大多数类 UNIX 系统和 Windows(在 Windows 上的 Ubuntu 上使用 Cygwin 或 Bash)。 https://rvm.io/rvm/install
Bash on Ubuntu on Windows works fine for me.
Windows 上的 Ubuntu 上的 Bash 对我来说很好用。

