質問編集履歴

1

試したことを追記しました。

2017/02/24 05:13

投稿

lapi
lapi

スコア58

test CHANGED
File without changes
test CHANGED
@@ -12,35 +12,337 @@
12
12
 
13
13
  $ git push heroku master
14
14
 
15
- 省略
16
-
17
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
18
-
19
- **********************************************************
20
-
21
- icu required (brew install icu4c or apt-get install libicu-dev)
22
-
23
- **********************************************************
24
-
25
- *** extconf.rb failed ***
26
-
27
- Could not create Makefile due to some reason, probably lack of necessary
28
-
29
- libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
30
-
31
- Provided configuration options:
32
-
33
- 省略
34
-
35
- An error occurred while installing charlock_holmes (0.7.3), and Bundler cannot
36
-
37
- continue.
38
-
39
- Make sure that `gem install charlock_holmes -v '0.7.3'` succeeds before
40
-
41
- bundling.
42
-
43
- Bundler Output: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
15
+ -----> Ruby app detected
16
+
17
+ -----> Compiling Ruby/Rails
18
+
19
+ -----> Using Ruby version: ruby-2.2.6
20
+
21
+ -----> Installing dependencies using bundler 1.13.7
22
+
23
+ Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
24
+
25
+ Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
26
+
27
+ Fetching gem metadata from https://rubygems.org/..........
28
+
29
+
30
+
31
+ 中略
32
+
33
+
34
+
35
+ Installing sprockets 3.7.1
36
+
37
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
38
+
39
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/ruby-2.2.6/bin/ruby -r
40
+
41
+ ./siteconf20170224-220-ztshpy.rb extconf.rb
42
+
43
+ checking for main() in -licui18n... no
44
+
45
+ checking for main() in -licui18n... no
46
+
47
+ ***************************************************************************************
48
+
49
+ *********** icu required (brew install icu4c or apt-get install libicu-dev)
50
+
51
+ ***********
52
+
53
+ ***************************************************************************************
54
+
55
+ *** extconf.rb failed ***
56
+
57
+ Could not create Makefile due to some reason, probably lack of necessary
58
+
59
+ libraries and/or headers. Check the mkmf.log file for more details. You may
60
+
61
+ need configuration options.
62
+
63
+ Provided configuration options:
64
+
65
+ --with-opt-dir
66
+
67
+ --without-opt-dir
68
+
69
+ --with-opt-include
70
+
71
+ --without-opt-include=${opt-dir}/include
72
+
73
+ --with-opt-lib
74
+
75
+ --without-opt-lib=${opt-dir}/lib
76
+
77
+ --with-make-prog
78
+
79
+ --without-make-prog
80
+
81
+ --srcdir=.
82
+
83
+ --curdir
84
+
85
+ --ruby=/tmp/build_010a3852f863275c64ef45a1f435840e/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
86
+
87
+ --with-icu-dir
88
+
89
+ --without-icu-dir
90
+
91
+ --with-icu-include
92
+
93
+ --without-icu-include=${icu-dir}/include
94
+
95
+ --with-icu-lib
96
+
97
+ --without-icu-lib=${icu-dir}/lib
98
+
99
+ --with-icui18nlib
100
+
101
+ --without-icui18nlib
102
+
103
+ --with-icui18nlib
104
+
105
+ --without-icui18nlib
106
+
107
+ extconf failed, exit code 1
108
+
109
+ Gem files will remain installed in
110
+
111
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/bundle/ruby/2.2.0/gems/charlock_holmes-0.7.3
112
+
113
+ for inspection.
114
+
115
+ Results logged to
116
+
117
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/charlock_holmes-0.7.3/gem_make.out
118
+
119
+ An error occurred while installing charlock_holmes (0.7.3), and Bundler cannot
120
+
121
+ continue.
122
+
123
+ Make sure that `gem install charlock_holmes -v '0.7.3'` succeeds before
124
+
125
+ bundling.
126
+
127
+ Bundler Output: Warning: the running version of Bundler (1.13.7) is older than the version that created the lockfile (1.14.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
128
+
129
+ Fetching gem metadata from https://rubygems.org/..........
130
+
131
+ Fetching version metadata from https://rubygems.org/..
132
+
133
+ Fetching dependency metadata from https://rubygems.org/.
134
+
135
+ Installing rake 12.0.0
136
+
137
+ Installing i18n 0.8.1
138
+
139
+ Installing json 1.8.6 with native extensions
140
+
141
+ Installing minitest 5.10.1
142
+
143
+ Installing thread_safe 0.3.6
144
+
145
+ Installing builder 3.2.3
146
+
147
+ Installing mini_portile2 2.1.0
148
+
149
+ Installing erubis 2.7.0
150
+
151
+ Installing rack 1.6.5
152
+
153
+ Installing mime-types-data 3.2016.0521
154
+
155
+ Installing arel 6.0.4
156
+
157
+ Installing execjs 2.7.0
158
+
159
+ Installing bcrypt 3.1.11 with native extensions
160
+
161
+ Installing sass 3.4.23
162
+
163
+ Installing cancan 1.6.10
164
+
165
+ Installing charlock_holmes 0.7.3 with native extensions
166
+
167
+ Installing thor 0.19.4
168
+
169
+ Installing coderay 1.1.1
170
+
171
+ Installing coffee-script-source 1.12.2
172
+
173
+ Installing commonjs 0.2.7
174
+
175
+ Installing concurrent-ruby 1.0.4
176
+
177
+ Installing crass 1.0.2
178
+
179
+ Installing orm_adapter 0.5.0
180
+
181
+ Installing escape_utils 1.1.1 with native extensions
182
+
183
+ Installing gemoji 3.0.0
184
+
185
+ Installing rugged 0.26.0b3 with native extensions
186
+
187
+ Installing greenmat 3.2.2.2 with native extensions
188
+
189
+ Installing tilt 2.0.6
190
+
191
+ Installing multi_json 1.12.1
192
+
193
+ Installing turbolinks-source 5.0.0
194
+
195
+ Installing mem 0.1.5
196
+
197
+ Installing nested_form 0.3.2
198
+
199
+ Installing pg 0.19.0 with native extensions
200
+
201
+ Using bundler 1.13.7
202
+
203
+ Installing rails_serve_static_assets 0.0.5
204
+
205
+ Installing rails_stdout_logging 0.0.5
206
+
207
+ Installing remotipart 1.3.1
208
+
209
+ Installing rdoc 4.3.0
210
+
211
+ Installing redcarpet 2.3.0 with native extensions
212
+
213
+ Installing tzinfo 1.2.2
214
+
215
+ Installing nokogiri 1.7.0.1 with native extensions
216
+
217
+ Installing rack-test 0.6.3
218
+
219
+ Installing warden 1.2.7
220
+
221
+ Installing mime-types 3.1
222
+
223
+ Installing autoprefixer-rails 6.7.5
224
+
225
+ Installing uglifier 3.0.4
226
+
227
+ Installing coffee-script 2.4.1
228
+
229
+ Installing less 2.6.0
230
+
231
+ Installing sprockets 3.7.1
232
+
233
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
234
+
235
+
236
+
237
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/ruby-2.2.6/bin/ruby -r
238
+
239
+ ./siteconf20170224-220-ztshpy.rb extconf.rb
240
+
241
+ checking for main() in -licui18n... no
242
+
243
+ checking for main() in -licui18n... no
244
+
245
+
246
+
247
+
248
+
249
+ ***************************************************************************************
250
+
251
+ *********** icu required (brew install icu4c or apt-get install libicu-dev)
252
+
253
+ ***********
254
+
255
+ ***************************************************************************************
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=/tmp/build_010a3852f863275c64ef45a1f435840e/vendor/ruby-2.2.6/bin/$(RUBY_BASE_NAME)
290
+
291
+ --with-icu-dir
292
+
293
+ --without-icu-dir
294
+
295
+ --with-icu-include
296
+
297
+ --without-icu-include=${icu-dir}/include
298
+
299
+ --with-icu-lib
300
+
301
+ --without-icu-lib=${icu-dir}/lib
302
+
303
+ --with-icui18nlib
304
+
305
+ --without-icui18nlib
306
+
307
+ --with-icui18nlib
308
+
309
+ --without-icui18nlib
310
+
311
+
312
+
313
+ extconf failed, exit code 1
314
+
315
+
316
+
317
+ Gem files will remain installed in
318
+
319
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/bundle/ruby/2.2.0/gems/charlock_holmes-0.7.3
320
+
321
+ for inspection.
322
+
323
+ Results logged to
324
+
325
+ /tmp/build_010a3852f863275c64ef45a1f435840e/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/charlock_holmes-0.7.3/gem_make.out
326
+
327
+
328
+
329
+ An error occurred while installing charlock_holmes (0.7.3), and Bundler cannot
330
+
331
+ continue.
332
+
333
+ Make sure that `gem install charlock_holmes -v '0.7.3'` succeeds before
334
+
335
+ bundling.
336
+
337
+ !
338
+
339
+ ! Failed to install gems via Bundler.
340
+
341
+ !
342
+
343
+ ! Push rejected, failed to compile Ruby app.
344
+
345
+ ! Push failed
44
346
 
45
347
  ```
46
348
 
@@ -68,9 +370,7 @@
68
370
 
69
371
 
70
372
 
71
- 次に``brew install --force``が必要だとエラーが出たので
373
+ 次に``brew install --force``と言われたので``brew install icu4c --force``を実行しましたがエラー
72
-
73
- brew install --forceをインストールしますが、こちらもエラー。
74
374
 
75
375
  エラー内容
76
376
 
@@ -78,15 +378,31 @@
78
378
 
79
379
  $ brew install --force
80
380
 
81
- 省略
82
-
83
- Error: Invalid usage: This command requires a formula argument
381
+ Warning: icu4c-58.2 already installed, it's just not linked.
84
-
382
+
85
- ```
383
+ ```
384
+
385
+
386
+
86
-
387
+ 既にインストールされているがリンクされていないと言われたので、``brew link icu4c``を実行しました。
388
+
389
+ ```
390
+
391
+ Warning: Already linked: /usr/local/Cellar/icu4c/58.2
392
+
393
+ To relink: brew unlink icu4c && brew link icu4c
394
+
395
+ ```
396
+
397
+ 既にリンクされていると言われてしまい手詰まりです。
398
+
399
+
400
+
87
- このようになってしまって色々調べてはみたものの解決できずにいます。
401
+ 色々調べてはみたものの解決できずにいます。
88
-
402
+
89
- どのようにすれば解決できるかご教授ください。
403
+ どのようにすれば解決できるかご教授頂けると嬉しです
404
+
405
+ よろしくお願いします。
90
406
 
91
407
 
92
408