Help us understand the problem. What is going on with this article?

Herokuにデプロイできない非エンジニアです。

More than 5 years have passed since last update.

下のRailsのチュートリアルを実践しながら勉強中です。

http://railstutorial.jp/chapters/beginning?version=4.0#code-gemfile_sqlite_version

1.4.2 Herokuにデプロイする (1)

Railsアプリケーションを実際にHerokuにデプロイするには、まずGitを使用してHerokuにリポジトリをプッシュします。

$ git push heroku master

エラーが出ます。
下記、エラー内容です。

An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue.
       Make sure that `gem install sqlite3 -v '1.3.8'` 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

色々調べて、変更してみても・・・

Gemfile
gem 'sqlite3'

のところを

Gemfile
group :development do
  gem 'sqlite3'
end

group :production do
  gem 'pg'
end

やっぱりエラーが出ます。

皆様の知恵をお貸しいただけますと幸いです。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away