LoginSignup
2
2

More than 3 years have passed since last update.

[Rails] Gemが正しくインストールされているか確認する方法

Posted at

前提

# bundle install実行後

Bundle complete! 20 Gemfile dependencies, 83 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

このように表示された場合、
「Gemfileに記述してあるGemは全て正しくインストールされている」
状態です。

一文字でもミスがあれば、エラーメッセージを返してくれます。

確認方法①

"bundle info Gem名"コマンド

・Gem名のGem情報が表示される

確認方法②

"Gemfile.look"を確認

・"Gemfile.look"は「インストールされているGemの名前とVersionが記載されているファイル」

2
2
0

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
2
2