rails チュートリアルにおけるbundle updateについて
railsチュートリアル第2章でのbundle updateがうまくいきません。
解決策をご指導くださいm(._.)m
発生している問題・エラーメッセージ
An error occurred while installing pg (0.20.0), and Bundler cannot continue.
Make sure that gem install pg -v '0.20.0' --source 'https://rubygems.org/'
succeeds before bundling.
該当のソースコード
ec2-user:~/environment/toy_app (master) $ bundle update
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java
.
試したこと
gefile内の
group :production do
gem 'pg', '0.20.0'
end
の部分を削除したところ、uodate成功したのですがここは削除してはいけない部分でしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/08 03:18