Sto seguendo il tutorial di Ruby on Rails e sono bloccato dall'installazione di Ruby 1.9.2. È rimasto bloccato alla funzione #compiling per ~ 36 ore. Ho provato a trovare il mio file configure.log ma onestamente non sono stato in grado di farlo.Come installare Ruby 1.9.2 con RVM su Mac OSX 10.7.3 LION?
Quello che ho fatto finora: 1) installata XCode 2) Installato GCC 10.7v2
Il comando che ho usato:
RVM reloaded!
vinnies-macbook:~ vinnie$ rvm install 1.9.2 --with-gcc=clang
Fetching yaml-0.1.4.tar.gz to /Users/vinnie/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/vinnie/.rvm/src
Configuring yaml in /Users/vinnie/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/vinnie/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/vinnie/.rvm/usr
clang: error: unsupported option '--with-libyaml'
Building 'ruby-1.9.2-p318' using clang - but it's not (fully) supported, expect errors.
Installing Ruby from source to: /Users/vinnie/.rvm/rubies/ruby-1.9.2-p318, this may take a while depending on your cpu(s)...
ruby-1.9.2-p318 - #fetching
ruby-1.9.2-p318 - #extracted to /Users/vinnie/.rvm/src/ruby-1.9.2-p318 (already extracted)
ruby-1.9.2-p318 - #configuring
ruby-1.9.2-p318 - #compiling
sarei d'accordo che MacPorts è una soluzione migliore. Inoltre, l'utente * è * utilizzando RVM. –
MacPort potrebbe avere problemi con pacchetti complessi e oscuri, ma non ho mai avuto alcun problema con l'installazione di Ruby. – Alkaline
Penso che il problema con MacPorts sia la sua eccessiva necessità di installare le dipendenze fornite con il sistema operativo. Personalmente trovo [Homebrew] (http://mxcl.github.com/homebrew/) di gran lunga superiore. –