2012-04-27 16 views
2

ステップ1で大きな問題が発生しています。RVMでRubyをインストールする際に問題が発生しました。データベースファイルが存在しませんか?

David-Coles-MacBook-Air:~ DavesPiece$ rvm install 1.9.3 
Fetching yaml-0.1.4.tar.gz to /Users/DavesPiece/.rvm/archives 
Extracting yaml-0.1.4.tar.gz to /Users/DavesPiece/.rvm/src 
Configuring yaml in /Users/DavesPiece/.rvm/src/yaml-0.1.4. 
Error running ' ./configure --prefix="/Users/DavesPiece/.rvm/usr" ', please read /Users/DavesPiece/.rvm/log/ruby-1.9.3-p194/yaml/configure.log 
Compiling yaml in /Users/DavesPiece/.rvm/src/yaml-0.1.4. 
Error running 'make ', please read /Users/DavesPiece/.rvm/log/ruby-1.9.3-p194/yaml/make.log 


Database file /Users/DavesPiece/.rvm/config/packages does not exist. 

Installing Ruby from source to: /Users/DavesPiece/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)... 

ruby-1.9.3-p194 - #fetching 
ruby-1.9.3-p194 - #extracted to /Users/DavesPiece/.rvm/src/ruby-1.9.3-p194 (already extracted) 
ruby-1.9.3-p194 - #configuring 
Error running ' ./configure --prefix=/Users/DavesPiece/.rvm/rubies/ruby-1.9.3-p194 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/DavesPiece/.rvm/usr ', please read /Users/DavesPiece/.rvm/log/ruby-1.9.3-p194/configure.log 
There has been an error while running configure. Halting the installation. 
ls: /Users/DavesPiece/.rvm/rubies/*/bin/ruby: No such file or directory 
David-Coles-MacBook-Air:~ DavesPiece$ 

私はどこにも行きませんし、それが言及したログファイルを読み込むが、そのリード:私はその後、「RVMは1.9.3をインストールする」とここで出力だ型付け、RVMをインストールしました。私は何をすべきか?私は実際に私の顔をグーグルで見つけて解決策を見つけることができません。

+0

最も簡単な解決策があるに – user938363

答えて

0

Xcodeをお持ちでない場合は、インストールする必要があります。 Lion 10.7.3以上をお持ちの場合は、App Storeで見つけることができます。それ以外の場合は、Apple Developerサイト(アカウントが必要)にアクセスして、ダウンロードとインストールの手順を確認する必要があります。

また、Lionを使用している場合は、GCC-10.7-v2.pkgをダウンロードしてインストールする必要があります。CC =/usr/bin/gcc-4.2 rvm install 1.9.2-p290 --enable-shared

コンパイル時に、コンパイラがコンパイルされていることを示すメッセージが表示された場合は、あなたのconfigure.logを見ました。これはちょうど最高の推測です。

1

これは疑わしいと思われます。どのようにRVMをインストールしましたか?私たちは、Ubuntuの12.04で同様の問題を抱えている

touch /Users/DavesPiece/.rvm/config/packages 
関連する問題