No external deps on Rubygems.org?
nick at quaran.to
Thu Oct 13 12:17:39 EDT 2011
"dependency" is for "gem" dependency, let's keep it that way, please. There
is a "requirements" field in the gemspec that this could be used for
However this is yet another reason to have metadata :(
On Thu, Oct 13, 2011 at 11:47 AM, Charles Oliver Nutter <headius at headius.com
> I ran into a snag trying to demo JRuby's support for installing Maven
> artifacts as gems: rubygems.org does not allow pushing gems with
> external dependencies.
> For the "cloby" gem, which exposes Clojure's STM and persistent list
> as Ruby instance variables, I wanted to have a dependency on Clojure
> directly from Maven, using JRuby's maven gem support. The gem name for
> that looks like "mvn:org.clojure:clojure". This worked well as a
> dependency in the gemspec, and local copies of the gem would also
> fetch Clojure from Maven Central. But I was not able to push the gem
> to rubygems.org.
> Inability to push gems that depend on Maven artifacts waters down that
> support considerably. It also means we would need to start pushing
> Maven libraries to Rubygems.org for every such library anyone depends
> on...which could mean hundreds of gems that only exist to wrap a JVM
> library. I know nobody wants that (and that's why we built this
> support into JRuby) so perhaps we can reach a compromise?
> - Charlie
> RubyGems-Developers mailing list
> RubyGems-Developers at rubyforge.org
More information about the RubyGems-Developers