LoginSignup
10

More than 5 years have passed since last update.

[Gemfileに追加→bundle install]と[gem install]の違い

Posted at

[Gemfileに追加→bundle install]
「アプリに」Gemをインストールするイメージ。
GemとそのGemの実行に必要なモノ(dependencies)をまとめてインストールできる。
後でWebアプリに使いたい場合など、こっちで入れておいたほうが無難。

[gem install Gem名]
「環境に」Gemをインストールするイメージ。

以下、読んだ感じどっちでもいいけれど、
Dependenciesまで持ってきてくれることを考えるとbundle installの方が無難っぽい。

Difference between bundle and gem install?
http://stackoverflow.com/questions/6162047/difference-between-bundle-and-gem-install

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
10