質問編集履歴

2

名前変更

2020/04/08 15:19

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- herock デプロイ
1
+ heroku デプロイ
test CHANGED
@@ -1,4 +1,4 @@
1
- Herockのデプロイを行っているのですが、エラーが出てしまいます。
1
+ Herokuのデプロイを行っているのですが、エラーが出てしまいます。
2
2
 
3
3
 
4
4
 

1

エラー内容修正

2020/04/08 15:19

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  Herockのデプロイを行っているのですが、エラーが出てしまいます。
2
2
 
3
- ![イメージ説明](fc5fd72eece21005fbb21b7072c5ee4a.png)
3
+
4
4
 
5
5
  ```ここに言語を入力
6
6
 
@@ -26,6 +26,334 @@
26
26
 
27
27
  $bundle install --without production
28
28
 
29
+
30
+
31
+ [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'production'`, and stop using this flag
32
+
33
+ The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
34
+
35
+ Fetching gem metadata from https://rubygems.org/............
36
+
37
+ Fetching gem metadata from https://rubygems.org/.
38
+
39
+ Resolving dependencies...
40
+
41
+ Using rake 13.0.1
42
+
43
+ Using concurrent-ruby 1.1.6
44
+
45
+ Using i18n 1.8.2
46
+
47
+ Using minitest 5.14.0
48
+
49
+ Using thread_safe 0.3.6
50
+
51
+ Using tzinfo 1.2.6
52
+
53
+ Using activesupport 5.2.4.1
54
+
55
+ Using builder 3.2.4
56
+
57
+ Using erubi 1.9.0
58
+
59
+ Using mini_portile2 2.4.0
60
+
61
+ Using nokogiri 1.10.9
62
+
63
+ Using rails-dom-testing 2.0.3
64
+
65
+ Using crass 1.0.6
66
+
67
+ Using loofah 2.4.0
68
+
69
+ Using rails-html-sanitizer 1.3.0
70
+
71
+ Using actionview 5.2.4.1
72
+
73
+ Using rack 2.2.2
74
+
75
+ Using rack-test 1.1.0
76
+
77
+ Using actionpack 5.2.4.1
78
+
79
+ Using nio4r 2.5.2
80
+
81
+ Using websocket-extensions 0.1.4
82
+
83
+ Using websocket-driver 0.7.1
84
+
85
+ Using actioncable 5.2.4.1
86
+
87
+ Using globalid 0.4.2
88
+
89
+ Using activejob 5.2.4.1
90
+
91
+ Using mini_mime 1.0.2
92
+
93
+ Using mail 2.7.1
94
+
95
+ Using actionmailer 5.2.4.1
96
+
97
+ Using activemodel 5.2.4.1
98
+
99
+ Using arel 9.0.0
100
+
101
+ Using activerecord 5.2.4.1
102
+
103
+ Using mimemagic 0.3.4
104
+
105
+ Using marcel 0.3.3
106
+
107
+ Using activestorage 5.2.4.1
108
+
109
+ Using public_suffix 4.0.3
110
+
111
+ Using addressable 2.7.0
112
+
113
+ Using io-like 0.3.1
114
+
115
+ Using archive-zip 0.12.0
116
+
117
+ Using bcrypt 3.1.13
118
+
119
+ Using bindex 0.8.1
120
+
121
+ Using msgpack 1.3.3
122
+
123
+ Using bootsnap 1.4.6
124
+
125
+ Using bundler 2.1.4
126
+
127
+ Using byebug 11.1.1
128
+
129
+ Using regexp_parser 1.7.0
130
+
131
+ Using xpath 3.2.0
132
+
133
+ Using capybara 3.31.0
134
+
135
+ Using mini_magick 4.10.1
136
+
137
+ Using ffi 1.12.2
138
+
139
+ Using ruby-vips 2.0.17
140
+
141
+ Using image_processing 1.10.3
142
+
143
+ Using carrierwave 2.1.0
144
+
145
+ Using childprocess 3.0.0
146
+
147
+ Using chromedriver-helper 2.1.1
148
+
149
+ Using coderay 1.1.2
150
+
151
+ Using coffee-script-source 1.12.2
152
+
153
+ Using execjs 2.7.0
154
+
155
+ Using coffee-script 2.4.1
156
+
157
+ Using method_source 0.9.2
158
+
159
+ Using thor 1.0.1
160
+
161
+ Using railties 5.2.4.1
162
+
163
+ Using coffee-rails 4.2.2
164
+
165
+ Using orm_adapter 0.5.0
166
+
167
+ Using responders 3.0.0
168
+
169
+ Using warden 1.2.8
170
+
171
+ Using devise 4.7.1
172
+
173
+ Using erubis 2.7.0
174
+
175
+ Using sassc 2.2.1
176
+
177
+ Using font-awesome-sass 5.12.0
178
+
179
+ Using temple 0.8.2
180
+
181
+ Using tilt 2.0.10
182
+
183
+ Using haml 5.1.2
184
+
185
+ Using sexp_processor 4.14.1
186
+
187
+ Using ruby_parser 3.14.2
188
+
189
+ Using html2haml 2.2.0
190
+
191
+ Using haml-rails 2.0.1
192
+
193
+ Using jbuilder 2.10.0
194
+
195
+ Using jquery-rails 4.3.5
196
+
197
+ Using kaminari-core 1.2.0
198
+
199
+ Using kaminari-actionview 1.2.0
200
+
201
+ Using kaminari-activerecord 1.2.0
202
+
203
+ Using kaminari 1.2.0
204
+
205
+ Using rb-fsevent 0.10.3
206
+
207
+ Using rb-inotify 0.10.1
208
+
209
+ Using ruby_dep 1.5.0
210
+
211
+ Using listen 3.1.5
212
+
213
+ Using mysql2 0.5.3
214
+
215
+ Using polyamorous 2.3.2
216
+
217
+ Using pry 0.12.2
218
+
219
+ Using pry-rails 0.3.9
220
+
221
+ Using puma 3.12.4
222
+
223
+ Using sprockets 3.7.2
224
+
225
+ Using sprockets-rails 3.2.1
226
+
227
+ Using rails 5.2.4.1
228
+
229
+ Using ransack 2.3.2
230
+
231
+ Using rubyzip 2.2.0
232
+
233
+ Using sass-listen 4.0.0
234
+
235
+ Using sass 3.7.4
236
+
237
+ Using sass-rails 5.1.0
238
+
239
+ Using selenium-webdriver 3.142.7
240
+
241
+ Using spring 2.1.0
242
+
243
+ Using spring-watcher-listen 2.0.1
244
+
245
+ Fetching sqlite3 1.4.2
246
+
247
+ Installing sqlite3 1.4.2 with native extensions
248
+
249
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
250
+
251
+
252
+
253
+ current directory: /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sqlite3-1.4.2/ext/sqlite3
254
+
255
+ /Users/inukaihirosuke/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20200408-51542-2edm9x.rb extconf.rb
256
+
257
+ *** extconf.rb failed ***
258
+
259
+ Could not create Makefile due to some reason, probably lack of necessary
260
+
261
+ libraries and/or headers. Check the mkmf.log file for more details. You may
262
+
263
+ need configuration options.
264
+
265
+
266
+
267
+ Provided configuration options:
268
+
269
+ --with-opt-dir
270
+
271
+ --without-opt-dir
272
+
273
+ --with-opt-include
274
+
275
+ --without-opt-include=${opt-dir}/include
276
+
277
+ --with-opt-lib
278
+
279
+ --without-opt-lib=${opt-dir}/lib
280
+
281
+ --with-make-prog
282
+
283
+ --without-make-prog
284
+
285
+ --srcdir=.
286
+
287
+ --curdir
288
+
289
+ --ruby=/Users/自分のローカル/.rbenv/versions/2.5.1/bin/$(RUBY_BASE_NAME)
290
+
291
+ --with-sqlcipher
292
+
293
+ --without-sqlcipher
294
+
295
+ --with-sqlcipher
296
+
297
+ --without-sqlcipher
298
+
299
+ --with-sqlite3-config
300
+
301
+ --without-sqlite3-config
302
+
303
+ --with-pkg-config
304
+
305
+ --without-pkg-config
306
+
307
+ /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an
308
+
309
+ executable file. (RuntimeError)
310
+
311
+ You have to install development tools first.
312
+
313
+ from /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:541:in `try_link0'
314
+
315
+ from /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:559:in `try_link'
316
+
317
+ from /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:660:in `try_ldflags'
318
+
319
+ from /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:1820:in `pkg_config'
320
+
321
+ from extconf.rb:35:in `<main>'
322
+
323
+
324
+
325
+ To see why this extension failed to compile, please check the mkmf.log which can be found here:
326
+
327
+
328
+
329
+ /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17/2.5.0/sqlite3-1.4.2/mkmf.log
330
+
331
+
332
+
333
+ extconf failed, exit code 1
334
+
335
+
336
+
337
+ Gem files will remain installed in /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/sqlite3-1.4.2
338
+
339
+ for inspection.
340
+
341
+ Results logged to
342
+
343
+ /Users/自分のローカル/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17/2.5.0/sqlite3-1.4.2/gem_make.out
344
+
345
+
346
+
347
+ An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue.
348
+
349
+ Make sure that `gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/'` succeeds before bundling.
350
+
351
+
352
+
353
+ In Gemfile:
354
+
355
+ sqlite3
356
+
29
357
  ```
30
358
 
31
359
  上記の手順で実行してもエラーが出てしまうのですが、これはsqlite3のバージョンを変更しろということでしょうか?