質問編集履歴
1
追加情報
title
CHANGED
File without changes
|
body
CHANGED
@@ -71,4 +71,38 @@
|
|
71
71
|
remote: ! Failed to install gems via Bundler.
|
72
72
|
remote: ! Detected sqlite3 gem which is not supported on Heroku:
|
73
73
|
remote: ! https://devcenter.heroku.com/articles/sqlite3
|
74
|
+
```
|
75
|
+
|
76
|
+
##追加情報
|
77
|
+
database.ymlのproductionの部分を下記のように変更しました。
|
78
|
+
|
79
|
+
```database.yml
|
80
|
+
# SQLite. Versions 3.8.0 and up are supported.
|
81
|
+
# gem install sqlite3
|
82
|
+
#
|
83
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
84
|
+
# gem 'sqlite3'
|
85
|
+
#
|
86
|
+
default: &default
|
87
|
+
adapter: sqlite3
|
88
|
+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
89
|
+
timeout: 5000
|
90
|
+
|
91
|
+
development:
|
92
|
+
<<: *default
|
93
|
+
database: db/development.sqlite3
|
94
|
+
|
95
|
+
# Warning: The database defined as "test" will be erased and
|
96
|
+
# re-generated from your development database when you run "rake".
|
97
|
+
# Do not set this db to the same as development or production.
|
98
|
+
test:
|
99
|
+
<<: *default
|
100
|
+
database: db/test.sqlite3
|
101
|
+
|
102
|
+
production:
|
103
|
+
<<: *default
|
104
|
+
adapter: postgresql
|
105
|
+
encoding: unicode
|
106
|
+
pool: 5
|
107
|
+
|
74
108
|
```
|