Created
May 11, 2016 06:23
-
-
Save daipresents/ba39482b0b774b1ef216fce79fbb8f72 to your computer and use it in GitHub Desktop.
Rails3+herokuで開発はsqlite3、heroku上はPostgreSQLを使う設定
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git push heroku master | |
| Counting objects: 85, done. | |
| Delta compression using up to 2 threads. | |
| Compressing objects: 100% (58/58), done. | |
| Writing objects: 100% (68/68), 160.05 KiB | 141 KiB/s, done. | |
| Total 68 (delta 24), reused 0 (delta 0) | |
| -----> Heroku receiving push | |
| -----> Removing .DS_Store files | |
| -----> Ruby/Rails app detected | |
| -----> Installing dependencies using Bundler version 1.2.0.pre | |
| Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment | |
| Fetching gem metadata from https://rubygems.org/....... | |
| Using rake (0.9.2.2) | |
| Using i18n (0.6.0) | |
| Using multi_json (1.3.6) | |
| Using activesupport (3.2.6) | |
| Using builder (3.0.0) | |
| Using activemodel (3.2.6) | |
| Using erubis (2.7.0) | |
| Using journey (1.0.4) | |
| Using rack (1.4.1) | |
| Using rack-cache (1.2) | |
| Using rack-test (0.6.1) | |
| Using hike (1.2.1) | |
| Using tilt (1.3.3) | |
| Using sprockets (2.1.3) | |
| Using actionpack (3.2.6) | |
| Using mime-types (1.19) | |
| Using polyglot (0.3.3) | |
| Using treetop (1.4.10) | |
| Using mail (2.4.4) | |
| Using actionmailer (3.2.6) | |
| Using arel (3.0.2) | |
| Using tzinfo (0.3.33) | |
| Using activerecord (3.2.6) | |
| Using activeresource (3.2.6) | |
| Using coffee-script-source (1.3.3) | |
| Using execjs (1.4.0) | |
| Using coffee-script (2.2.0) | |
| Using rack-ssl (1.3.2) | |
| Using json (1.7.3) | |
| Using rdoc (3.12) | |
| Using thor (0.15.4) | |
| Using railties (3.2.6) | |
| Using coffee-rails (3.2.2) | |
| Using jquery-rails (2.0.2) | |
| Using bundler (1.2.0.pre) | |
| Using rails (3.2.6) | |
| Using sass (3.1.20) | |
| Using sass-rails (3.2.5) | |
| Installing sqlite3 (1.3.6) 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 mkmf.log file for more | |
| details. You may need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir | |
| --without-opt-dir | |
| --with-opt-include | |
| --without-opt-include=${opt-dir}/include | |
| --with-opt-lib | |
| --without-opt-lib=${opt-dir}/lib | |
| --with-make-prog | |
| --without-make-prog | |
| --srcdir=. | |
| --curdir | |
| --ruby=/usr/local/bin/ruby | |
| --with-sqlite3-dir | |
| --without-sqlite3-dir | |
| --with-sqlite3-include | |
| --without-sqlite3-include=${sqlite3-dir}/include | |
| --with-sqlite3-lib | |
| --without-sqlite3-lib=${sqlite3-dir}/lib | |
| --enable-local | |
| --disable-local | |
| Gem files will remain installed in /tmp/build_2n2m921ssi879/vendor/bundle/ruby/1.9.1/gems/sqlite3-1.3.6 for inspection. | |
| Results logged to /tmp/build_2n2m921ssi879/vendor/bundle/ruby/1.9.1/gems/sqlite3-1.3.6/ext/sqlite3/gem_make.out | |
| An error occurred while installing sqlite3 (1.3.6), and Bundler cannot continue. | |
| Make sure that `gem install sqlite3 -v '1.3.6'` succeeds before bundling. | |
| ! | |
| ! Failed to install gems via Bundler. | |
| ! | |
| ! Heroku push rejected, failed to compile Ruby/rails app | |
| To git@heroku.com:myapp.git | |
| ! [remote rejected] master -> master (pre-receive hook declined) | |
| error: failed to push some refs to 'git@heroku.com:myapp.git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :production do | |
| gem 'pg' | |
| end | |
| group :development, :test do | |
| gem 'sqlite3' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment