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.
bundle install--local vs bundle install
-
08-10-2022 - |
Pergunta
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 ?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow