home.social

#gemspec — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #gemspec, aggregated by home.social.

  1. Hm. #Lazyweb, how do I override the gemspec of a gem?

    I am trying to push all gems needed for my Jekyll build to my own #forgejo instance (as a kind of cache), so I get them all with `bundle package`, then try to push them to my forgejo with

    `gem push --host forge.wildeboer.net/api/packag<user>/rubygems <GEM>`

    But some fail with:

    ERROR: "forge.wildeboer.net/api/packag<user>/rubygems" is not allowed by the gemspec, which only allows "rubygems.org"

    How can I override that?

    #Ruby #Gem #Gemspec

  2. Does anyone know how to update the description of a gem on rubygems.org?

    I thought it was supposed to be set from the gemspec, but changing that doesn’t seem to have made a difference.

    #ruby #rubygems #gemspec

  3. @cam +1 for not enabling the Gemspec/AddRuntimeDependency rule by default. A #Gemspec doesn't have the same rich grammar as a #Bundler #Gemfile, so by definition anything not a development dependency is a runtime dependency. There's no need to be needlessly verbose about it, so kudos on that choice! 👏