-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Deploy to Heroku button #2
Merged
alfa-jpn
merged 2 commits into
alfa-jpn:master
from
sue445:feature/deploy_to_heroku_button
May 26, 2015
Merged
Add Deploy to Heroku button #2
alfa-jpn
merged 2 commits into
alfa-jpn:master
from
sue445:feature/deploy_to_heroku_button
May 26, 2015
Conversation
This file contains 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
Because, FAILED bundle install sqlite3 Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /tmp/build_5e840a1068ec34ab2bd2f40f2d6d2dca/sue445-BotHeaven-4dcf8f1/vendor/ruby-2.0.0/bin/ruby extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal', 'yum install sqlite-devel' or 'apt-get install libsqlite3-dev' 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=/tmp/build_5e840a1068ec34ab2bd2f40f2d6d2dca/sue445-BotHeaven-4dcf8f1/vendor/ruby-2.0.0/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}/ Gem files will remain installed in /tmp/build_5e840a1068ec34ab2bd2f40f2d6d2dca/sue445-BotHeaven-4dcf8f1/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10 for inspection. Results logged to /tmp/build_5e840a1068ec34ab2bd2f40f2d6d2dca/sue445-BotHeaven-4dcf8f1/vendor/bundle/ruby/2.0.0/gems/sqlite3-1.3.10/ext/sqlite3/gem_make.out An error occurred while installing sqlite3 (1.3.10), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.10'` succeeds before bundling. ! ! Failed to install gems via Bundler. ! ! Detected sqlite3 gem which is not supported on Heroku. ! https://devcenter.heroku.com/articles/sqlite3 ! ! Push rejected, failed to compile Ruby app
@@ -49,9 +49,10 @@ gem 'puma' | |||
# Environment | |||
gem 'dotenv-rails' | |||
|
|||
gem 'sqlite3', group: "sqlite3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
production
の中にあると c08c4ef のようなエラーが出るためproductionは外して、Herokuデプロイ時には bundle install --without sqlite3
でsqliteをインストールしないようにしています
Herokuボタンのプルリク及び、Herokuでの検証・対応ありがとうございます! |
😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
便利そうだったのでDeploy to Herokuボタンに対応してワンクリックでデプロイできるようにしました。
自分のHerokuアカウントでデプロイできるところまで確認しています
app.jsonの説明文は適当なのでよしなに編集お願いします
公式資料