2

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

Matt Singer
  • 1,917
  • 2
  • 14
  • 12

1 Answers1

6

you have two options:

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

    rvm get branch /features/cygwin
    rvm requirements
    
mpapis
  • 52,729
  • 14
  • 121
  • 158
  • Working on #2 right now. I had to play with PATH for the RVM scripts to find setup.exe (or setup-x86_64.exe) – Toddius Zho Dec 12 '13 at 20:46
  • please leave notes about any issues (and possible solutions) here => https://github.com/wayneeseguin/rvm/pull/2360 – mpapis Dec 13 '13 at 10:14
  • @ToddiusZho any luck doing that? I am on a mac, and learning cygwin on windows 7, would love to know what to edit the $PATH with – chris Frisina Sep 09 '14 at 13:56
  • I tried today with newer versions and everything seemed to work. rvm get stable; rvm install 2.1.1; rvm install 2.1.2 – Toddius Zho Sep 10 '14 at 18:47