0
我有這個應用程序使用1.9.2和軌3.2 今天我改變了紅寶石版本1.9.3(使用rbenv) 和一切出了問題,然後Rails - 沒有上傳到heroku後升級紅寶石1.9.3和軌道3.2
我有這個在我的Gemfile
組:發展做 寶石 'sqlite3的' 結束
組:生產做 寶石 'PG' 結束
每次我運行:
捆綁安裝--without現在生產
沒有任何反應,當我做
混帳推Heroku的主
我得到了同樣的錯誤:
Installing sqlite3 (1.3.5) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
顯然它試圖安裝sqlite,但即使我從我的Gemfile中刪除了sqlite gem n othing情況,看來問題是Heroku的,但現在我不能什麼都不做
希望有人能幫助我,因爲我試圖做
Heroku的DB:拉
因爲我的想添加水龍頭寶石,然後我跟着這個教程
http://railsapps.github.com/rails-heroku-tutorial.html
我在Heroku上改變了紅寶石的版本,現在我覺得現在的問題是rbenv,但我不知道
在此先感謝
哈維爾Q