gem pushing permissions
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',
Comments are currently closed for this discussion. You can start a new one.
2 Posted by jrochkind on 14 Jun, 2010 10:59 PM
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...]
Support Staff 3 Posted by Nick Quaranto on 15 Jun, 2010 01:11 AM
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.
4 Posted by jrochkind on 15 Jun, 2010 01:29 AM
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?
5 Posted by jrochkind on 15 Jun, 2010 01:40 AM
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?
Support Staff 6 Posted by Nick Quaranto on 15 Jun, 2010 01:45 AM
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.
Support Staff 7 Posted by Nick Quaranto on 15 Jun, 2010 01:46 AM
And yes, he can use
gem ownerat any time once he's in on that account:http://rubygems.org/pages/gem_docs#owner
8 Posted by jrochkind on 15 Jun, 2010 03:01 PM
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.
Support Staff 9 Posted by Nick Quaranto on 15 Jun, 2010 08:55 PM
Well that was easy! Let me know if you need anything else.
Nick Quaranto closed this discussion on 15 Jun, 2010 08:55 PM.