2011-06-30 51 views
0

タップの宝石はインストールできません。エラー:Gemネイティブ拡張をビルドできませんでした。 - タップの宝石はインストールできません

sudo apt-get install libreadline-dev 
sudo apt-get install libncurses-dev 
cd ~/.rvm/src/ruby-1.9.2-p136/ext/readline 
ruby extconf.rb 
make 
sudo make install 

しかし、私はこのエラーを取得しています:私はランニングみました

Building native extensions. This could take a while... ERROR: Error installing taps: ERROR: Failed to build gem native extension.

~/.rvm/rubies/ruby-1.9.2-p136/bin/ruby 

extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite3-devel' and check your shared library search path (the location where your sqlite3 shared library is located). * extconf.rb failed *

任意のアイデア私が正確に何をしたか/どのように修正しますか?

+0

、私はそれを考え出した これは私がタップをインストールすることができランニング: sudoの適性インストールのlibsqlite3-devの http://mikewilliamson.wordpress.com/2009/08/ 25/heroku-taps-and-ubuntu / – phauwn

答えて

1

開発用ヘッダーとともにSQLite3パッケージをインストールする必要があります。 Ubuntuでは、これは次のようになります。

sudo apt-get install libsqlite3-dev 
関連する問題