Railsを現在勉強しており、Railsチュートリアル第一章を進めているのでが、
herokuへのデプロイの際、git push heroku master
を入力後にエラーが表示され、
デプロイできなくなってしまいました。
Qiita等も参考にしたのですが、解決できませんでした。
宜しくお願いいたします。
エラー remote: ! remote: ! Failed to install gems via Bundler. remote: ! Detected sqlite3 gem which is not supported on Heroku: remote: ! https://devcenter.heroku.com/articles/sqlite3 remote: !
Gemfile
1 2source 'https://rubygems.org' 3git_source(:github) { |repo| "https://github.com/#{repo}.git" } 4 5ruby '2.6.3' 6 7# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 8gem 'rails', '~> 6.0.3' 9# Use sqlite3 as the database for Active Record 10gem 'sqlite3', '~> 1.4' 11# Use Puma as the app server 12gem 'puma', '~> 3.11' 13# Use SCSS for stylesheets 14gem 'sass-rails', '~> 5' 15# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker 16gem 'webpacker', '~> 4.0' 17# Turbolinks makes navigating your web application faster. 18# Read more: https://github.com/turbolinks/turbolinks 19gem 'turbolinks', '~> 5' 20# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 21gem 'jbuilder', '~> 2.7' 22# Use Redis adapter to run Action Cable in production 23# gem 'redis', '~> 4.0' 24# Use Active Model has_secure_password 25# gem 'bcrypt', '~> 3.1.7' 26 27# Use Active Storage variant 28# gem 'image_processing', '~> 1.2' 29 30# Reduces boot times through caching; required in config/boot.rb 31gem 'bootsnap', '>= 1.4.2', require: false 32 33group :development, :test do 34 # Call 'byebug' anywhere in the code to stop execution and get a 35 # debugger console 36 gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] 37end 38 39group :development do 40 # Access an interactive console on exception pages or by calling 'console' 41 # anywhere in the code. 42 gem 'web-console', '>= 3.3.0' 43 gem 'listen', '>= 3.0.5', '< 3.2' 44 # Spring speeds up development by keeping your application running in the 45 # background. Read more: https://github.com/rails/spring 46 gem 'spring' 47 gem 'spring-watcher-listen', '~> 2.0.0' 48end 49 50group :test do 51 # Adds support for Capybara system testing and selenium driver 52 gem 'capybara', '>= 2.15' 53 gem 'selenium-webdriver' 54 # Easy installation and use of web drivers to run system tests with browsers 55 gem 'webdrivers' 56end 57 58group :production do 59 gem 'pg', '1.1.4' 60end 61 62# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 63gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 64 65
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/08/26 01:44