質問編集履歴

2

Gemfile追加

2020/06/10 10:27

投稿

kii_log
kii_log

スコア5

test CHANGED
File without changes
test CHANGED
@@ -142,7 +142,75 @@
142
142
 
143
143
  ```
144
144
 
145
-
145
+ Gemfile
146
+
147
+ ```
148
+
149
+ source 'https://rubygems.org'
150
+
151
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
152
+
153
+
154
+
155
+ gem 'rails', '6.0.3'
156
+
157
+ gem 'puma', '4.3.4'
158
+
159
+ gem 'sass-rails', '5.1.0'
160
+
161
+ gem 'webpacker', '4.0.7'
162
+
163
+ gem 'turbolinks', '5.2.0'
164
+
165
+ gem 'jbuilder', '2.9.1'
166
+
167
+ gem 'bootsnap', '1.4.5', require: false
168
+
169
+
170
+
171
+ group :development, :test do
172
+
173
+ gem 'sqlite3', '1.4.1'
174
+
175
+ gem 'byebug', '11.0.1', platforms: [:mri, :mingw, :x64_mingw]
176
+
177
+ end
178
+
179
+
180
+
181
+ group :development do
182
+
183
+ gem 'web-console', '4.0.1'
184
+
185
+ gem 'listen', '3.1.5'
186
+
187
+ gem 'spring', '2.1.0'
188
+
189
+ gem 'spring-watcher-listen', '2.0.1'
190
+
191
+ end
192
+
193
+
194
+
195
+ group :test do
196
+
197
+ gem 'capybara', '3.28.0'
198
+
199
+ gem 'selenium-webdriver', '3.142.4'
200
+
201
+ gem 'webdrivers', '4.1.2'
202
+
203
+ end
204
+
205
+
206
+
207
+ group :production do
208
+
209
+ gem 'pg', '1.1.4'
210
+
211
+ end
212
+
213
+ ```
146
214
 
147
215
 
148
216
 

1

エラーメッセージの追加

2020/06/10 10:27

投稿

kii_log
kii_log

スコア5

test CHANGED
File without changes
test CHANGED
@@ -10,9 +10,121 @@
10
10
 
11
11
  ### 発生している問題・エラーメッセージ
12
12
 
13
- $ git push heroku master した時最終段落に以下のエラーメッセージが出ます。
13
+ $ git push heroku master した時以下のエラーメッセージが出ます。
14
14
 
15
15
  ```
16
+
17
+ remote: !
18
+
19
+ remote: ! Could not detect rake tasks
20
+
21
+ remote: ! ensure you can run `$ bundle exec rake -P` against your app
22
+
23
+ remote: ! and using the production group of your Gemfile.
24
+
25
+ remote: ! rake aborted!
26
+
27
+ remote: ! ActiveRecord::DatabaseConfigurations::InvalidConfigurationError: '{ default => }' is not a valid configuration. Expected '' to be a URL string or a Hash.
28
+
29
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:152:in `build_db_config_from_raw_config'
30
+
31
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:126:in `block in build_configs'
32
+
33
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:122:in `each'
34
+
35
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:122:in `flat_map'
36
+
37
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:122:in `build_configs'
38
+
39
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/database_configurations.rb:18:in `initialize'
40
+
41
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/tasks/database_tasks.rb:159:in `new'
42
+
43
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/tasks/database_tasks.rb:159:in `for_each'
44
+
45
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:28:in `block (2 levels) in <main>'
46
+
47
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_manager.rb:225:in `in_namespace'
48
+
49
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb:141:in `namespace'
50
+
51
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:23:in `block in <main>'
52
+
53
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/task_manager.rb:225:in `in_namespace'
54
+
55
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb:141:in `namespace'
56
+
57
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railties/databases.rake:7:in `<main>'
58
+
59
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:69:in `load'
60
+
61
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:69:in `rescue in load'
62
+
63
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:52:in `load'
64
+
65
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:318:in `block in load'
66
+
67
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:291:in `load_dependency'
68
+
69
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3/lib/active_support/dependencies.rb:318:in `load'
70
+
71
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.3/lib/active_record/railtie.rb:49:in `block in <class:Railtie>'
72
+
73
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/railtie.rb:245:in `instance_exec'
74
+
75
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/railtie.rb:245:in `block in run_tasks_blocks'
76
+
77
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/railtie.rb:253:in `each'
78
+
79
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/railtie.rb:253:in `each_registered_block'
80
+
81
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/railtie.rb:245:in `run_tasks_blocks'
82
+
83
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/application.rb:517:in `block in run_tasks_blocks'
84
+
85
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/engine/railties.rb:15:in `each'
86
+
87
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/engine/railties.rb:15:in `each'
88
+
89
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/application.rb:517:in `run_tasks_blocks'
90
+
91
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3/lib/rails/engine.rb:459:in `load_tasks'
92
+
93
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/Rakefile:6:in `<top (required)>'
94
+
95
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load'
96
+
97
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load_rakefile'
98
+
99
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:703:in `raw_load_rakefile'
100
+
101
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:104:in `block in load_rakefile'
102
+
103
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
104
+
105
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:103:in `load_rakefile'
106
+
107
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:82:in `block in run'
108
+
109
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
110
+
111
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
112
+
113
+ remote: ! /tmp/build_00af613d29d2adf087b6031ec55215d8/vendor/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
114
+
115
+ remote: ! ./vendor/bundle/bin/rake:29:in `load'
116
+
117
+ remote: ! ./vendor/bundle/bin/rake:29:in `<main>'
118
+
119
+ remote: !
120
+
121
+ remote: ! Caused by:
122
+
123
+ remote: ! Bootsnap::LoadPathCache::FallbackScan:
124
+
125
+ remote: !
126
+
127
+ remote: /app/tmp/buildpacks/b7af5642714be
16
128
 
17
129
  ! [remote rejected] master -> master (pre-receive hook declined)
18
130
 
@@ -36,30 +148,4 @@
36
148
 
37
149
 
38
150
 
39
- ### 該当のソースコード
40
-
41
-
42
-
43
- ```ここに言語名を入力
44
-
45
- ソースコード
46
-
47
- ```
48
-
49
-
50
-
51
151
  ### 試したこと
52
-
53
-
54
-
55
- ここに問題に対して試したことを記載してください。
56
-
57
-
58
-
59
-
60
-
61
- ### 補足情報(FW/ツールのバージョンなど)
62
-
63
-
64
-
65
- ここにより詳細な情報を記載してください。