gem pushing permissions

jrochkind's Avatar

jrochkind

14 Jun, 2010 07:30 PM

I have a gem that still has source hosted on rubyforge svn; eventually I'm going to move to github, but meanwhile I'd still like to release a new gem version.

It was originally started by another developer; now both he and I are committers, and both of us, ideally, would be able to push new gem versions.

I've set up my Rakefile etc for jeweler. "rake build" works. "rake release" does not, which maybe makes sense cause rake release wants to deal with git, but this source is not in git. Okay, that's fine.

So "rake gemcutter:release" ought to push to gemcutter, I think? But I get permission denied. Probably because the gemcutter permissions are set to the original developers account, since he pushed a gem version back before gemcutter days.

How do I (or he) fix this so both of us can push released gems to gemcutter?

The particular gem is 'cql-ruby',

  1. 1 Posted by jrochkind on 14 Jun, 2010 10:59 PM

    jrochkind's Avatar

    Update. The original developer, who pushed the original gem to rubyforge, tried to push a new version using jeweler to gemcutter, and had access denied too.

    Much appreciated if you can help us figure out how to push a new version of this gem

    chickmac:CqlRuby2 chickmarkley$ rake gemcutter:release
    (in /Users/chickmarkley/Documents/Aptana RadRails Workspace/CqlRuby2) Generated: cql-ruby.gemspec
    cql-ruby.gemspec is valid.
    Successfully built RubyGem Name: cql-ruby Version: 0.8.0 File: cql-ruby-0.8.0.gem Executing "gem push ./pkg/cql-ruby-0.8.0.gem":
    gem push ./pkg/cql-ruby-0.8.0.gem
    Enter your RubyGems.org credentials.
    Don't have an account yet? Create one at http://rubygems.org/sign_up
    Email: [ chick at qrhino at com] Password:
    Signed in.
    Pushing gem to RubyGems.org...
    You do not have permission to push to this gem.
    rake aborted!
    Command failed with status (1): [gem push ./pkg/cql-ruby-0.8.0.gem...]

  2. Support Staff 2 Posted by Nick Quaranto on 15 Jun, 2010 01:11 AM

    Nick Quaranto's Avatar

    Looks like the original developer's email is [email blocked]. If there's some problem logging into Gemcutter with that account we can figure that out, or if we need to merge accounts let me know.

  3. 3 Posted by jrochkind on 15 Jun, 2010 01:29 AM

    jrochkind's Avatar

    Thanks very much for the prompt reply. If he can log in with that account,
    is there some way for him to add my account as authorized for gem pushing?

    If he can not (that's a very old email address he doesn't use anymore), then
    we can get you to somehow either merge his new account... or add my account
    as an authorized gem pusher?

  4. 4 Posted by jrochkind on 15 Jun, 2010 01:40 AM

    jrochkind's Avatar

    That is, basically, Chick is no longer actively maintaining this software,
    he's given it over to me. He's made me a committer, great. But what do
    people do on gemcutter in this situation, I somehow need the ability to push
    out new gem releases too, is there some way to handle this?

  5. Support Staff 5 Posted by Nick Quaranto on 15 Jun, 2010 01:45 AM

    Nick Quaranto's Avatar

    Usually what we do is that if he can respond to this thread from [email blocked], I'll transfer the ownership over. If that's a dead email we can merge the accounts then get it transferred over.

  6. Support Staff 6 Posted by Nick Quaranto on 15 Jun, 2010 01:46 AM

    Nick Quaranto's Avatar

    And yes, he can use gem owner at any time once he's in on that account:

    http://rubygems.org/pages/gem_docs#owner

  7. 7 Posted by jrochkind on 15 Jun, 2010 03:01 PM

    jrochkind's Avatar

    While Chick said he didn't have access to [email blocked] anymore...
    somehow he managed to add me as an owner anyway. I won't worry about the
    details, since all is well now. Thanks for the help.

  8. Support Staff 8 Posted by Nick Quaranto on 15 Jun, 2010 08:55 PM

    Nick Quaranto's Avatar

    Well that was easy! Let me know if you need anything else.

  9. Nick Quaranto closed this discussion on 15 Jun, 2010 08:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM