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
I am trying to set up gemstash such that (1) it operates as a cache for rubygems.org and (2) it serves private gems that I want to test without making them public (yet).
For public gems, I just have to run rake release in my source repository and the gem is uploaded to rubygems. For private gems, I want to be able to do the the same thing except that they are only uploaded to gemstash.
In my private gem's gemspec file, I have this setting:
I am trying to set up gemstash such that (1) it operates as a cache for rubygems.org and (2) it serves private gems that I want to test without making them public (yet).
For public gems, I just have to run
rake release
in my source repository and the gem is uploaded to rubygems. For private gems, I want to be able to do the the same thing except that they are only uploaded to gemstash.In my private gem's gemspec file, I have this setting:
spec.metadata["allowed_push_host"] = "http://localhost:9292/private"
And it looks like that almost does the trick, except that when I run
rake release
, I get prompted to set up an account on gemstash:Is there a setting I should have in the gemspec to set my key, or am I missing something else?
The text was updated successfully, but these errors were encountered: