gem ownership - can not push gem to rubygems.org
Hi
I am an Admin User for the ruby spreadsheet project on rubyforge.com - but somehow I can not push the latest gem to rubygems.org - I get an ownership permission denied error when I do
rake release VERSION=0.6.5.0 --trace
the same is true for the user mhatakeyama - he is also an Admin of the project. Any hints on what to do?
Best
Zeno
Comments are currently closed for this discussion. You can start a new one.
2 Posted by zdavatz on 13 Dec, 2010 08:43 AM
This is the error I get:
Support Staff 3 Posted by Nick Quaranto on 13 Dec, 2010 01:43 PM
Hi there,
If you're given permission on a project at RubyForge those permissions aren't carried through to ownerships on Gemcutter. We did a one time import and aren't planning currently on maintaining a constant link in regards to permissions on both sites. I just added you as an owner on the spreadsheet gem so you should be all set.
4 Posted by zdavatz on 13 Dec, 2010 01:55 PM
Dear Nick
thanks! I just done another
rake release VERSION=0.6.5.0 --trace
that resulted in
Pushing gem to RubyGems.org...
There was a problem saving your gem: Home does not appear to be a valid URL
rake aborted!
Command failed with status (1): [/usr/bin/ruby18 -S gem push pkg/spreadshee...]
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
Any hints on what is going on?
Also: Can I now add any other owners as well? I still need to add "mhatakeyama" as an owner. He is an Admin at spreadsheet on Rubyforge as well and he needs to be able to push new gems as well.
Best
Zeno
5 Posted by zdavatz on 13 Dec, 2010 02:06 PM
Ok, this
gem owner gemcutter --add mhatakeyama at ywesee.com
results in
You do not have permission to manage this gem.
How do I get permission to manage the gem. mhatakeyama will also need that permission.
Best
Zeno
Support Staff 6 Posted by Nick Quaranto on 13 Dec, 2010 02:56 PM
The push error means that your homepage in the gemspec is not a valid URL, check it.
As for the
gem ownercommand, it'sgem owner [GEM_NAME]..so in this case, it would bespreadsheet, not my gem,gemcutter:)7 Posted by zdavatz on 13 Dec, 2010 03:10 PM
s.homepage = "http://scm.ywesee.com/?p=spreadsheet/.git;a=summary"
What is wrong about that URL? The URL is valid if you enter it in the browser.
Sorry for my dumb question. Obviously I could have noted that myself! It worked as advertised.
Obviously my
rake release VERSION=0.6.5.0 --trace
somehow worked as I can now see the files here:
http://rubyforge.org/frs/?group_id=678
but
gem search spreadsheet -r
still shows me the last version of spreadsheet 0.6.4.1. Rubyforge.org and Rubygems.org still confuse me a bit. What goes where and when.
Best
Zeno
8 Posted by zdavatz on 13 Dec, 2010 04:34 PM
Ok, now the latest gem of spreadsheet is out. I ran
rake release VERSION=0.6.5.0 --trace
again.
best
Zeno
Nick Quaranto closed this discussion on 15 Dec, 2010 03:25 PM.