質問編集履歴
1
追加情報の記入
title
CHANGED
File without changes
|
body
CHANGED
@@ -184,4 +184,37 @@
|
|
184
184
|
eval_gemfile file
|
185
185
|
end
|
186
186
|
|
187
|
-
```
|
187
|
+
```
|
188
|
+
|
189
|
+
###追記情報
|
190
|
+
|
191
|
+
Rubyのバージョンが異なるとご指摘を受けたので、
|
192
|
+
Rubyを2.5.0にrbenvで変更し再度、
|
193
|
+
gem install bundler
|
194
|
+
を行いました。
|
195
|
+
しかし、次に
|
196
|
+
bundle install --without development test
|
197
|
+
を行うと、以下のようにエラーが出ました。
|
198
|
+
|
199
|
+
```
|
200
|
+
An error occurred while installing nokogiri (1.10.1), and Bundler
|
201
|
+
cannot continue.
|
202
|
+
Make sure that `gem install nokogiri -v '1.10.1' --source
|
203
|
+
'https://rubygems.org/'` succeeds before bundling.
|
204
|
+
|
205
|
+
In Gemfile:
|
206
|
+
rails was resolved to 5.2.2, which depends on
|
207
|
+
actioncable was resolved to 5.2.2, which depends on
|
208
|
+
actionpack was resolved to 5.2.2, which depends on
|
209
|
+
actionview was resolved to 5.2.2, which depends on
|
210
|
+
rails-dom-testing was resolved to 2.0.3, which depends on
|
211
|
+
nokogiri
|
212
|
+
```
|
213
|
+
|
214
|
+
そこで、今度も指示通り
|
215
|
+
gem install nokogiri -v '1.10.1' --source 'https://rubygems.org/'
|
216
|
+
を実行しgemをインストールしましたが、
|
217
|
+
もう一度bundle install --without development testを実行すると、
|
218
|
+
まったく同様のエラーが出てしまいました。
|
219
|
+
やはりGemが読み込めていないのでしょうか。
|
220
|
+
宜しくお願い致します。
|