When I run
rails new project
to make new project in Ruby on rails on my PC.
It works fine.
Then I run bundle install
and it throws this error:
create vendor/assets/stylesheets/.keep
run bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Fetching source index from https://rubygems.org/
Retrying source fetch due to error (2/3): Bundler::HTTPError Could not fetch specs from https:// rubygems.org/
Retrying source fetch due to error (3/3): Bundler::HTTPError Could not fetch specs from https:// rubygems.org/
When I try run my project it throws this error:
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.6.2/lib/bundler/resolver.rb:352:in `resolve': Could not find gem 'rails (= 4.1.1) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)
Can somebody help me?
rails
gem usinggem install rails
? – Richard Peck