質問編集履歴
1
エラー文の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,134 +22,32 @@
|
|
22
22
|
|
23
23
|
```ここに言語を入力
|
24
24
|
|
25
|
-
|
25
|
+
Successfully installed rails-5.2.0
|
26
26
|
|
27
|
-
|
27
|
+
Parsing documentation for rails-5.2.0
|
28
28
|
|
29
|
-
|
29
|
+
Done installing documentation for rails after 0 seconds
|
30
|
+
|
31
|
+
1 gem installed
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
できたと思い、再び`rails s`を実行
|
30
36
|
|
31
37
|
|
32
38
|
|
33
|
-
|
39
|
+
```
|
34
40
|
|
35
|
-
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180614-8655-vgwr6b.rb extconf.rb
|
36
|
-
|
37
|
-
checking if the C compiler accepts ... yes
|
38
|
-
|
39
|
-
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
|
40
|
-
|
41
|
-
Building nokogiri using packaged libraries.
|
42
|
-
|
43
|
-
Using mini_portile version 2.3.0
|
44
|
-
|
45
|
-
checking for iconv.h... yes
|
46
|
-
|
47
|
-
checking for gzdopen() in -lz... yes
|
48
|
-
|
49
|
-
checking for iconv... no
|
50
|
-
|
51
|
-
Using pkg-config gem version 1.3.1
|
52
|
-
|
53
|
-
checking for libiconv... no
|
54
|
-
|
55
|
-
-----
|
56
|
-
|
57
|
-
libiconv is missing. Please locate mkmf.log to investigate how it is failing.
|
58
|
-
|
59
|
-
-----
|
60
|
-
|
61
|
-
*** extconf.rb failed ***
|
62
|
-
|
63
|
-
|
41
|
+
Rails is not currently installed on this system. To get the latest version, simply type:
|
64
|
-
|
65
|
-
libraries and/or headers. Check the mkmf.log file for more details. You may
|
66
|
-
|
67
|
-
need configuration options.
|
68
42
|
|
69
43
|
|
70
44
|
|
71
|
-
Provided configuration options:
|
72
|
-
|
73
|
-
--with-opt-dir
|
74
|
-
|
75
|
-
--without-opt-dir
|
76
|
-
|
77
|
-
--with-opt-include
|
78
|
-
|
79
|
-
--without-opt-include=${opt-dir}/include
|
80
|
-
|
81
|
-
--with-opt-lib
|
82
|
-
|
83
|
-
--without-opt-lib=${opt-dir}/lib
|
84
|
-
|
85
|
-
--with-make-prog
|
86
|
-
|
87
|
-
--without-make-prog
|
88
|
-
|
89
|
-
--srcdir=.
|
90
|
-
|
91
|
-
--curdir
|
92
|
-
|
93
|
-
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
|
94
|
-
|
95
|
-
--help
|
96
|
-
|
97
|
-
--clean
|
98
|
-
|
99
|
-
|
45
|
+
$ sudo gem install rails
|
100
|
-
|
101
|
-
--enable-static
|
102
|
-
|
103
|
-
--disable-static
|
104
|
-
|
105
|
-
--with-zlib-dir
|
106
|
-
|
107
|
-
--without-zlib-dir
|
108
|
-
|
109
|
-
--with-zlib-include
|
110
|
-
|
111
|
-
--without-zlib-include=${zlib-dir}/include
|
112
|
-
|
113
|
-
--with-zlib-lib
|
114
|
-
|
115
|
-
--without-zlib-lib=${zlib-dir}/lib
|
116
|
-
|
117
|
-
--enable-cross-build
|
118
|
-
|
119
|
-
--disable-cross-build
|
120
46
|
|
121
47
|
|
122
48
|
|
123
|
-
|
49
|
+
You can then rerun your "rails" command.
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.2/mkmf.log
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
extconf failed, exit code 1
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.2 for inspection.
|
136
|
-
|
137
|
-
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.2/gem_make.out
|
138
50
|
|
139
51
|
```
|
140
52
|
|
141
|
-
また
|
53
|
+
また同じエラーが出ます。
|
142
|
-
|
143
|
-
nokogiriの時と同じようにhttps://qiita.com/kytiken/items/45da8f61775ec1cff3f8を参考に
|
144
|
-
|
145
|
-
`brew install libxml2 libxslt libiconv`
|
146
|
-
|
147
|
-
`brew link --force libxml2 libxslt libiconv`を実行したのですが、
|
148
|
-
|
149
|
-
gem installのオプションの設定の書き方が分からず困っています。
|
150
|
-
|
151
|
-
オプションの設定をして、pathを通せばできるのでは、と思っています。
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
一通り調べたのですがアドバイスお願いしたいです。
|