Reputation: 1812
I have a doubt, instead of directly doing bundle install I: 1) First install the gem using gem install GemName in my laptop. 2) then write the gem-name in the Gemfile 3) Then do bundle install--local to install the gem in the desired app's gemfile.
Is this method fine or should I use bundle install instead of bundle install--local and the 1st step. I want to know is there any difference in doing what I do and directly doing bundle install after writing the gem name ?
Upvotes: 0
Views: 723
Reputation: 380
Why you should do such a thing? Just put in your Gemfile all the gems you need, then execute bundle
or bundle install
and you have done.
Upvotes: 1