Gemfile
1gem 'cloudinary'
↓
$ bundle install
↓
エラー
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
↓
指示通りに入力
$ bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java
↓
エラー
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Could not fetch specs from https://rubygems.org/
Gemfile
1gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
こいつが問題らしいですが、なぜ gem 'cloudinary' がふつうに bundle install できないのですか?
原因と解決法を教えていただけると助かります。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。