I am new to Ruby on Rails and I would like to know how I can solve this: I am using windows, when I run a new project, for example:
Rails new project_name
Fetching source index from https://rubygems.org/
Network error fetching
There are a few possible solutions to this issue.
bundler to the latest version:
gem update --system gem update bundler
gem update --system fails, you may have an old enough version of RubyGems that you need a special upgrader:
gem install rubygems-update update_rubygems gem update --system gem update bundler
Depending on how if it was originally installed with sudo, you may need to run these commands with sudo as well.
If you are still having issues, I've run out of answers and you'll need to sacrifice a small puppy on the alter of BundlerWhatHaveIDoneToDeserveThis.