fnando / cpf_cnpj

🇧🇷 Validate, generate and format CPF/CNPJ numbers. Include command-line tools.
MIT License
238 stars 42 forks source link

Executable conflict when install gem #14

Closed diligasi closed 3 years ago

diligasi commented 5 years ago

Tryed to install your gem using bundle install cpf_cnpj and received the following message: cpf_cnpj's executable "cnpj" conflicts with cpf_faker, anny glue to solve it without overriding cpf_faker?

fnando commented 3 years ago

I know it's been a long time since you asked this, but here it goes:

You can install either gem binaries to a different directory.

gem install cpf_faker --bindir /tmp

If you need to use those binaries, then use a different directory and add it to $PATH.