Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error Could not find i18n-0.7.0 in any of the sources

This Saturday (27th, December), I upgraded my project Rails version from version 4.1.5 to version 4.2.0. And I also upgraded the Ruby version from 2.1.2 to 2.1.5.

Today, I was trying to run a Controller generator: bin/rails g controller Clients index and I realized that the command is not working. I am getting this error:

Could not find i18n-0.7.0 in any of the sources

I tried other commands like: bin/rake db:migrate, bin/rake and the same problem.

But I can run the server using: bin/rails s. I can navigate through the website too.

My last commit changes...

like image 950
WeezHard Avatar asked Dec 29 '14 09:12

WeezHard


1 Answers

Try:

bin/bundle install

Solves the problem ;)

like image 60
PawelW Avatar answered Sep 24 '22 07:09

PawelW