1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

herokuにデプロイできないです

Posted at

最近初めてruby on railsでgitをつかってherokuにデプロイしようとしている初心者です。
git push heroku masterとやると
! [remote rejected] master -> master (pre-receive hook declined)
というふうにエラーを吐きます。原因は上にsqliteが対応してないよ、とあったので
bundle exec gem uninstall sqlite3
とやってgemfileのsqlite部分もコメントアウトしました。またdatebase.ymlもadapterをpg、datebaseも~.pgに変更しました。
これでいけるだろうと思ってgit push heroku masterをするとまたまた同じエラーを吐きました。誰か原因というか対処法ご存知の方教えてください。

以下bundle list

  • actionmailer (4.2.2)
  • actionpack (4.2.2)
  • actionview (4.2.2)
  • activejob (4.2.2)
  • activemodel (4.2.2)
  • activerecord (4.2.2)
  • activesupport (4.2.2)
  • arel (6.0.3)
  • builder (3.2.2)
  • bundler (1.12.5)
  • coffee-rails (4.1.0)
  • coffee-script (2.4.1)
  • coffee-script-source (1.10.0)
  • concurrent-ruby (1.0.2)
  • erubis (2.7.0)
  • execjs (2.7.0)
  • globalid (0.3.6)
  • i18n (0.7.0)
  • jbuilder (2.2.3)
  • jquery-rails (4.0.3)
  • json (1.8.3)
  • loofah (2.0.3)
  • mail (2.6.4)
  • mime-types (3.1)
  • mime-types-data (3.2016.0521)
  • mini_portile2 (2.1.0)
  • minitest (5.9.0)
  • multi_json (1.12.1)
  • nokogiri (1.6.8)
  • pg (0.17.1)
  • pkg-config (1.1.7)
  • rack (1.6.4)
  • rack-test (0.6.3)
  • rails (4.2.2)
  • rails-deprecated_sanitizer (1.0.3)
  • rails-dom-testing (1.0.7)
  • rails-html-sanitizer (1.0.3)
  • rails_12factor (0.0.2)
  • rails_serve_static_assets (0.0.5)
  • rails_stdout_logging (0.0.5)
  • railties (4.2.2)
  • rake (11.2.2)
  • rdoc (4.2.2)
  • sass (3.4.22)
  • sass-rails (5.0.2)
  • sdoc (0.4.1)
  • sprockets (3.6.2)
  • sprockets-rails (3.1.1)
  • thor (0.19.1)
  • thread_safe (0.3.5)
  • tilt (1.4.1)
  • turbolinks (2.3.0)
  • tzinfo (1.2.2)
  • uglifier (2.5.3)
1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?