How to claim different gems with the same name?

I am interested in creating an application that requires me to require gmail gem for ruby. There are 2 gems right now:

https://github.com/dcparker/ruby-gmail

https://github.com/nu7hatch/gmail

Both gems have the same name, for example: gmail The second one is very clear, but there is a problem with one of its methods. This method works well in the first gem (link). So I thought, maybe I need the first one for this method. Can this be done, how?

+4
source share
2 answers

Like other answers and comments, you cannot just claim both gems as they are.

, , GitHub, -. , Gemfile

, , , , .

0

Gemfile :

gem 'gmail', :git => "git://github.com/dcparker/ruby-gmail", :branch => "master"
gem 'gmail', :git => "git://github.com/nu7hatch/gmail", :branch => "master"
-1

All Articles