Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing rvm hangs on mac os x

Tags:

macos

rvm

I've been here kind of a while:

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Installing required packages: autoconf, automake, libtool, pkgconfig, apple-gcc42, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, openssl, curl-ca-bundle, sqlite3, zlib, ncurses, gdbm............

When running:

curl -L https://get.rvm.io | bash -s stable --ruby

Not exactly sure why or useful debugging steps to take here. How to troubleshoot this? Will update this post as I find useful information.

Per log it got this far when I ctrl+c'ed:

---> Cleaning pkgconfig ---> Computing dependencies for apple-gcc42 ---> Dependencies to be installed: cctools llvm-3.2 gcc_select ld64 ---> Fetching archive for llvm-3.2 ---> Attempting to fetch llvm-3.2-3.2_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.2 ---> Attempting to fetch llvm-3.2-3.2_1.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.2 ---> Installing llvm-3.2 @3.2_1 ---> Activating llvm-3.2 @3.2_1

like image 706
djechlin Avatar asked May 11 '13 19:05

djechlin


People also ask

Does RVM work on Mac?

The RVM install page has comprehensive instructions for installing RVM that work on Mac OS X. I'll provide the steps I used here. I've listed the mapis public key install command here for illustration. You should use the version on the RVM install page.

What does RVM install do?

RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.

Can you use RVM on Windows?

RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). The basic requirements are bash , curl , gpg2 and overall GNU version of tools - but RVM tries to autodetect it and install anything that is needed.


2 Answers

try:

tail -f .rvm/log/MOST_RECENT_FOLDER/package_install_gcc46.log

like image 94
oprogfrogo Avatar answered Oct 12 '22 22:10

oprogfrogo


Just wait even longer. Took me about a half hour, hour maybe? I haven't figured out how to get more verbose output on which steps are taking place, but "waiting longer" is a valid step to try.

like image 27
djechlin Avatar answered Oct 12 '22 22:10

djechlin