我刚刚开始阅读Michael Hartl撰写的ruby.railstutorial.org一书,并一直在完成第一章.我正在使用mac book OS X,Terminal和Sublime Text.一切都按计划进行,直到测试部署到Heroku为止.我能够连接到Heroku并运行$ git push herokumaster命令.但是部署失败了:
Installing sqlite3 (1.3.5) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/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 …Run Code Online (Sandbox Code Playgroud)