質問編集履歴
1
追加情報の記入
test
CHANGED
File without changes
|
test
CHANGED
@@ -371,3 +371,69 @@
|
|
371
371
|
|
372
372
|
|
373
373
|
```
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
###追記情報
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
Rubyのバージョンが異なるとご指摘を受けたので、
|
382
|
+
|
383
|
+
Rubyを2.5.0にrbenvで変更し再度、
|
384
|
+
|
385
|
+
gem install bundler
|
386
|
+
|
387
|
+
を行いました。
|
388
|
+
|
389
|
+
しかし、次に
|
390
|
+
|
391
|
+
bundle install --without development test
|
392
|
+
|
393
|
+
を行うと、以下のようにエラーが出ました。
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
```
|
398
|
+
|
399
|
+
An error occurred while installing nokogiri (1.10.1), and Bundler
|
400
|
+
|
401
|
+
cannot continue.
|
402
|
+
|
403
|
+
Make sure that `gem install nokogiri -v '1.10.1' --source
|
404
|
+
|
405
|
+
'https://rubygems.org/'` succeeds before bundling.
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
In Gemfile:
|
410
|
+
|
411
|
+
rails was resolved to 5.2.2, which depends on
|
412
|
+
|
413
|
+
actioncable was resolved to 5.2.2, which depends on
|
414
|
+
|
415
|
+
actionpack was resolved to 5.2.2, which depends on
|
416
|
+
|
417
|
+
actionview was resolved to 5.2.2, which depends on
|
418
|
+
|
419
|
+
rails-dom-testing was resolved to 2.0.3, which depends on
|
420
|
+
|
421
|
+
nokogiri
|
422
|
+
|
423
|
+
```
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
そこで、今度も指示通り
|
428
|
+
|
429
|
+
gem install nokogiri -v '1.10.1' --source 'https://rubygems.org/'
|
430
|
+
|
431
|
+
を実行しgemをインストールしましたが、
|
432
|
+
|
433
|
+
もう一度bundle install --without development testを実行すると、
|
434
|
+
|
435
|
+
まったく同様のエラーが出てしまいました。
|
436
|
+
|
437
|
+
やはりGemが読み込めていないのでしょうか。
|
438
|
+
|
439
|
+
宜しくお願い致します。
|