Моя конечная цель - установить текущую версию Ruby on Rails. Я бегу на OS X Mountain Lion. Вот мой процесс до сих пор:Устранение неполадок Ruby 2.0.0-p247 через RVM (OSX Mountain Lion)
Установленная РВМ
$ \curl -L https://get.rvm.io | bash -s stable
Проверено на известных (и я полагаю, утвержден) устанавливает
$ rvm list known
Я вижу, что текущая стабильная сборка доступна
[ruby-]2.0.0[-p247]
Ключ в команде для установки
$ rvm install 2.0.0-p247
Примечание: Я также попытался установить эти команды
$ rvm install ruby-2.0.0-p247
$ rvm install ruby=2.0.0-p247
Я получаю нигде быстро. Результаты:
$ rvm install 2.0.0-p247
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/xxxxx/.rvm/rubies/ruby-2.0.0-p247, this may take a while depending on your cpu(s)...
ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, this may take a while depending on your connection...
ruby-2.0.0-p247 - #extracted to /Users/xxxxx/.rvm/src/ruby-2.0.0-p247 (already extracted)
ruby-2.0.0-p247 - #configuring........
Error running './configure --prefix=/Users/xxxxx/.rvm/rubies/ruby-2.0.0-p247 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --without-tcl --without-tk --enable-shared',
please read /Users/xxxxx/.rvm/log/ruby-2.0.0-p247/1375141206_configure.log
There has been an error while running configure. Halting the installation.
Я также выполнил эту команду в режиме отладки. Чтобы избежать беспорядка, вы можете получить к нему доступ here.
Кроме того, здесь есть журнал:
./configure
current path: /Users/xxxxx/.rvm/src/ruby-2.0.0-p247
command(7): ./configure --prefix=/Users/xxxxx/.rvm/rubies/ruby-2.0.0-p247 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --without-tcl --without-tk --enable-shared
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... x86_64-apple-darwin12.2.1
checking host system type... x86_64-apple-darwin12.2.1
checking target system type... x86_64-apple-darwin12.2.1
checking whether the C compiler works... no
configure: error: in `/Users/xxxxx/.rvm/src/ruby-2.0.0-p247':
configure: error: C compiler cannot create executables
See `config.log' for more details
Это моя первая установка с помощью РВМ. В списке $ rvm нет драгоценных камней.
Обратите внимание, если какая-либо дополнительная информация может быть полезна.
Редактировать - HERE - это журнал в случае, который может помочь кому угодно.
Попытка начать весь мой процесс снова с нуля. Переустановка Xcode & Commandline Tools теперь - тогда я попробую еще раз. Я опубликую свои результаты, когда они будут доступны. – MrCarder
добавьте '/ Users/xxxxx/.rvm/src/ruby-2.0.0-p247/config.log' – mpapis
Я выяснил проблему (вид). Будет ли он полезен другим, если я опубликую журнал? – MrCarder