rails new XXXでアプリを作ろうとすると以下のようなコードが出ます
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
.
Fetching source index from https://rubygems.org/
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/
run bundle exec spring binstub --all
Could not find gem 'coffee-rails (~> 4.2)' in any of the gem sources listed in your Gemfile.
Run bundle install
to install missing gems.
2週間前は普通に製作することができました。
何がいけないのでしょうか
様々なディレクトリで bundle init と bundle install と 指定されているコマンドを試しましたが駄目でした。
使用しているOSはubuntuです。
よろしくお願いします。
あなたの回答
tips
プレビュー