简体   繁体   English

RVM无法安装Rubies

[英]RVM fails to install Rubies

Why is RVM failing to install ruby? 为什么RVM无法安装ruby?

My development machine died and I am recreating my development environment on another machine Cygwin 32 bit, Win 7 64 bit and RVM. 我的开发机器死了,我正在另一台机器Cygwin 32位,Win 7 64位和RVM上重建开发环境。 I've installed RVM using the standard \\curl -sSL https://get.rvm.io | bash 我已经使用标准\\curl -sSL https://get.rvm.io | bash安装了RVM \\curl -sSL https://get.rvm.io | bash \\curl -sSL https://get.rvm.io | bash and by following this script Installing RVM With Cygwin on Windows and installing RVM with Ruby \\curl -sSL https://get.rvm.io | bash -s stable --ruby \\curl -sSL https://get.rvm.io | bash并遵循以下脚本: 在Windows上使用Cygwin安装RVM并使用Ruby \\curl -sSL https://get.rvm.io | bash -s stable --ruby安装RVM \\curl -sSL https://get.rvm.io | bash -s stable --ruby \\curl -sSL https://get.rvm.io | bash -s stable --ruby . \\curl -sSL https://get.rvm.io | bash -s stable --ruby RVM seems to install successfully each time but when I try to install a version of Ruby using RVM I get this message: RVM似乎每次都能成功安装,但是当我尝试使用RVM安装Ruby版本时,出现以下消息:

Searching for binary rubies, this might take some time. 搜索二进制红宝石,这可能需要一些时间。 No binary rubies available for: cygwin/unknown/i386/ruby-2.0.0-p353. 没有适用于cygwin / unknown / i386 / ruby​​-2.0.0-p353的二进制红宝石。 Continuing with compilation. 继续进行编译。 Please read 'rvm help mount' to get more information on binary rubies. 请阅读“ rvm help mount”以获取有关二进制红宝石的更多信息。 Checking requirements for cygwin. 检查cygwin的要求。 Requirements support for cygwin is not implemented yet, report a bug here => https://github.com/wayneeseguin/rvm/issues Requirements installation failed with status: 1. 尚未实现对cygwin的需求支持,请在此处报告错误=> https://github.com/wayneeseguin/rvm/issues需求安装失败,状态为:1。

I do not remember in my previous, same config, setup having any issues with RVM. 我不记得在以前的相同配置中,RVM出现任何问题。 I had multiple versions of Ruby installed and was able to move between them with RVM. 我安装了多个版本的Ruby,并且能够使用RVM在它们之间移动。

I installed Ruby 1.9.3 successfully with the Cygwin setup program outside of RVM. 我使用RVM外部的Cygwin安装程序成功安装了Ruby 1.9.3。 Similar error with Cygwin 64 bit. Cygwin 64位出现类似错误。

I have installed and uninstalled Cygwin several times, the same with RVM without success. 我已多次安装和卸载Cygwin,与RVM相同,但未成功。 After much searching and trial and error I've begun focusing on this cygwin/unknown/i386/ruby-2.0.0-p353 Is it possibly a PATH environmental variable issue? 经过大量搜索和反复试验后,我开始关注cygwin/unknown/i386/ruby-2.0.0-p353可能是PATH环境变量问题吗? Thanks 谢谢

you have two options: 您有两种选择:

  1. disable autolibs : rvm autolibs disable 禁用autolibsrvm autolibs disable
  2. switch to branch with cygwin development : 切换到cygwin开发分支

     rvm get branch /features/cygwin rvm requirements 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “ RVM安装红宝石”无法安装红宝石,RVM安装在/ usr / local中 - “RVM install ruby” failed to install rubies, RVM installed in /usr/local rvm list rubies错误 - rvm list rubies error 捆绑软件和rvm使用不同的红宝石 - bundler and rvm are using different rubies Capistrano RVM和Ubuntu RVM不是一个功能,用'rvm use ...'选择红宝石是行不通的 - Capistrano RVM and Ubuntu RVM is not a function, selecting rubies with 'rvm use …' will not work RVM 移除所有红宝石和所有相应的宝石 - RVM remove all rubies and all corresponding gemsets 在OS X的终端机内运行'./installer -a /usr/local/rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems'时出错 - Error running './installer -a /usr/local/rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ' inside Terminal on OS X 将 Rails 3.0.1 与安装了各种 RVM 的红宝石一起使用 - Using Rails 3.0.1 with various RVM installed Rubies 运行autoconf时rvm install 1.9.2失败了吗? - rvm install 1.9.2 fails when running autoconf? 在具有多个(太多?)Rubies的机器上为RVM设置全局默认Ruby - Set Global default Ruby for RVM on machine with multiple (too many?) Rubies Phusion Passenger处理具有多个RVM红宝石的多个项目的问题 - Issue with Phusion Passenger handling multiple projects with multiple RVM rubies
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM