Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
9
Help us understand the problem. What is going on with this article?

More than 5 years have passed since last update.

@Masalt

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

[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

9
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
9
Help us understand the problem. What is going on with this article?