Monchhichi
Monchhichi

Reputation: 397

Cannot start rails server

I tried to rails server

= Could not find rake-12.0.0 in any of the sources Run bundle install to install missing gems.

I tried to bundle update/ install It goes to the error msg below .

enter image description here

Upvotes: 0

Views: 814

Answers (3)

puneet18
puneet18

Reputation: 4427

Try following commands:

gem update --system

bundle install

Upvotes: 0

Kavincat
Kavincat

Reputation: 390

Follow this step:

  1. gem install rack
  2. Run bundle update rake for updating your Gemfile.lock file.
  3. Delete the Gemfile.lock and again bundle install.

Upvotes: 0

Shannon
Shannon

Reputation: 3018

Try changing your Gemfile line from source 'https://rubygems.org' to source 'http://rubygems.org'

Upvotes: 1

Related Questions