Matt Singer
Matt Singer

Reputation: 2157

RVM fails to install Rubies

Why is RVM failing to install ruby?

My development machine died and I am recreating my development environment on another machine Cygwin 32 bit, Win 7 64 bit and RVM. I've installed RVM using the standard \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. RVM seems to install successfully each time but when I try to install a version of Ruby using RVM I get this message:

Searching for binary rubies, this might take some time. No binary rubies available for: cygwin/unknown/i386/ruby-2.0.0-p353. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for 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.

I do not remember in my previous, same config, setup having any issues with RVM. I had multiple versions of Ruby installed and was able to move between them with RVM.

I installed Ruby 1.9.3 successfully with the Cygwin setup program outside of RVM. Similar error with Cygwin 64 bit.

I have installed and uninstalled Cygwin several times, the same with RVM without success. 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? Thanks

Upvotes: 2

Views: 4474

Answers (1)

mpapis
mpapis

Reputation: 53178

you have two options:

  1. disable autolibs: rvm autolibs disable
  2. switch to branch with cygwin development:

    rvm get branch /features/cygwin
    rvm requirements
    

Upvotes: 6

Related Questions