remear / jewelrybox

OS X RVM Manager
105 stars 5 forks source link

Add Ruby goes blank when error is reached. #177

Open chuckwagoncomputing opened 11 years ago

chuckwagoncomputing commented 11 years ago

On Mac OS 10.7, when installing new rubies, the Add Ruby pane goes blank if there is an error during the installation.

EDIT: Apparently I am not the only one with this problem: http://stackoverflow.com/questions/8139138/how-can-i-install-ruby-1-9-3-in-mac-os-x-lion/9472673%239472673#comment12238382_9472673

joakim commented 11 years ago

Same thing happens to me on OS X 10.8.3.

Tried different 1.9.3 and 1.9.2 versions as well as 2.0.0-p0, with and without Clang. Always the same result – it goes gray less than a second after hitting Install, no error and nothing happens. I couldn't find any logs in ~/.rvm/log/ruby-[version]/.

Xcode 4.6.1 with command line tools installed, llvm-gcc:

lrwxr-xr-x  1 root  wheel  12 Mar 17 22:30 /usr/bin/gcc -> llvm-gcc-4.2

Even tried the old gcc, but still no luck (JewelryBox listed the correct gcc, but it only took a little longer to fail):

brew install apple-gcc42
sudo rm /usr/bin/gcc
sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc

Edit: I ended up installing RVM using the default method. Had to do rvm autolibs brew before being able to install 1.9.3, I guess I could've appended --autolibs=brew to the install command instead.

paynerc commented 11 years ago

I was seeing this issue as well... Turns out my Homebrew permissions were all jacked up on this new machine... I had just finished using the Migration Assistant to migrate everything over. Uninstalled Homebrew and reinstalled it and now it works fine.