How to install RVM on Windows 7

左心房为你撑大大i 提交于 2019-12-17 09:21:58

问题


How do I install RVM on Windows 7?

It says to install RVM, and use the following script:

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'.

What do I do to install RVM?


回答1:


No RVM for you! From RVM’s FAQ:

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 pik which is an excellent tool by Gordon Thiesfeld. You can find it on GitHub. There are plans to include windows support in RVM 2.0.




回答2:


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




回答3:


Currently pik is no longer maintained use uru an alternative to pik




回答4:


Yes indeed i think we can use cygwin for having RVM on windows

Link: http://blog.developwithpassion.com/2012/03/30/installing-rvm-with-cygwin-on-windows/




回答5:


you can install pik trough chocolatey https://chocolatey.org/packages/pik




回答6:


RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). https://rvm.io/rvm/install

Bash on Ubuntu on Windows works fine for me.



来源:https://stackoverflow.com/questions/8845432/how-to-install-rvm-on-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!