You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple gemspecs in the same directory, specify which one you'd like to reference using :name
gemspec :name => 'my_awesome_gem'
This will use my_awesome_gem.gemspec
but I've found that if I have 2 differently named gemspec files (gemname-rails3.gemspec and gemname-rails4.gemspec) and they both have specification.name = "gemname", if I use gemspec name: "gemname-rails4" on my Gemfile, it'll tell me not found. So it seems like the file name is ignored and what's used instead is the name setting on the gemspec.
The text was updated successfully, but these errors were encountered:
The docs say
but I've found that if I have 2 differently named gemspec files (
gemname-rails3.gemspec
andgemname-rails4.gemspec
) and they both havespecification.name = "gemname"
, if I usegemspec name: "gemname-rails4"
on my Gemfile, it'll tell me not found. So it seems like the file name is ignored and what's used instead is thename
setting on the gemspec.The text was updated successfully, but these errors were encountered: