回答編集履歴

1

内容追記

2018/05/22 04:32

投稿

kazto
kazto

スコア7196

test CHANGED
@@ -7,3 +7,63 @@
7
7
  上記のエラーメッセージから、`bundle install`した際に何かしらの失敗があると推測しました。
8
8
 
9
9
  bundle install 実行時のログを追記できますでしょうか。
10
+
11
+
12
+
13
+ # bundleログを受けての追記
14
+
15
+
16
+
17
+ 以下の部分でインストールに失敗しています。
18
+
19
+
20
+
21
+ ```Plain
22
+
23
+ IMPORTANT NOTICE:
24
+
25
+
26
+
27
+ Building Nokogiri with a packaged version of libxml2-2.9.7.
28
+
29
+
30
+
31
+ Team Nokogiri will keep on doing their best to provide security
32
+
33
+ updates in a timely manner, but if this is a concern for you and want
34
+
35
+ to use the system library instead; abort this installation process and
36
+
37
+ reinstall nokogiri as follows:
38
+
39
+
40
+
41
+ gem install nokogiri -- --use-system-libraries
42
+
43
+ [--with-xml2-config=/path/to/xml2-config]
44
+
45
+ [--with-xslt-config=/path/to/xslt-config]
46
+
47
+
48
+
49
+ If you are using Bundler, tell it to use the option:
50
+
51
+
52
+
53
+ bundle config build.nokogiri --use-system-libraries
54
+
55
+ bundle install
56
+
57
+ ```
58
+
59
+
60
+
61
+ 指示のとおり、以下を実行してみてください。
62
+
63
+
64
+
65
+ > gem install nokogiri -- --use-system-libraries
66
+
67
+ bundle config build.nokogiri --use-system-libraries
68
+
69
+ bundle install