0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

最終的にbundle updateでCould not find rake-0.9.2.2 in any of the sources Run `bundle install` to install missing gems.が解決

Last updated at Posted at 2017-02-19

エラー内容はこちら⇩です。

$ rails s
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.

全コードは分量があるので&コチラでの綺麗な掲載方法を知らないので、自分のブログ⇨http://kuguido-fujinka.com/2016/11/01/error対処:could-not-find-rake-0-9-2-2-in-any-of-the-sources-run-bundle-install-to-install-missing-gems/
に載せてます。

解決した流れはこちら⇩
1:bundle installとしてみるが上手くいかない。
2:そこで、gem install bundlerを実行する。
3:再び、サーバーの起動を試みるがダメ。
4:もう一度bundle installを実行するがダメ。
5:そこで、gem install json -v ‘1.7.5’を実行する。
6:でも、サーバーは起動しない。
7:そこで、bundle updateを実行すると・・・、最後の行に「nothing to do! Yay!」のメッセージが!直訳すると⇨「何もすることないよ!イェイ!」。と言うことは、これでサーバーが起動出来るはず。
8:サーバーが起動しました。

0
0
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?