Question

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 ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top