tag:help.rubygems.org,2010-01-19:/discussions/problems/427-gem-ownershipRubyGems.org: Discussion 2018-10-18T19:51:01Ztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T08:14:50Z2010-12-13T09:23:21Zgem ownership - can not push gem to rubygems.org<div><p>Hi</p>
<p>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</p>
<p>rake release VERSION=0.6.5.0 --trace</p>
<p>the same is true for the user mhatakeyama - he is also an Admin
of the project. Any hints on what to do?</p>
<p>Best<br>
Zeno</p></div>zdavatztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T08:43:08Z2010-12-13T13:35:34Zgem ownership - can not push gem to rubygems.org<div><p>This is the error I get:</p>
<pre>
<code>** Execute release_to_gemcutter
/usr/bin/ruby18 -S gem push pkg/spreadsheet-0.6.5.0.gem
Pushing gem to RubyGems.org...
You do not have permission to push to this gem.
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'
/usr/lib/ruby/gems/1.8/gems/hoe-2.8.0/lib/hoe/gemcutter.rb:12:in `define_gemcutter_tasks'
/usr/lib/ruby/gems/1.8/gems/hoe-2.8.0/lib/hoe/gemcutter.rb:9:in `each'
/usr/lib/ruby/gems/1.8/gems/hoe-2.8.0/lib/hoe/gemcutter.rb:9:in `define_gemcutter_tasks'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19</code>
</pre></div>zdavatztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T13:43:29Z2010-12-13T13:43:29Zgem ownership - can not push gem to rubygems.org<div><p>Hi there,</p>
<p>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.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T13:55:01Z2010-12-13T14:15:34Zgem ownership - can not push gem to rubygems.org<div><p>Dear Nick</p>
<p>thanks! I just done another</p>
<p>rake release VERSION=0.6.5.0 --trace</p>
<p>that resulted in</p>
<p>Pushing gem to RubyGems.org...<br>
There was a problem saving your gem: Home does not appear to be a
valid URL<br>
rake aborted!<br>
Command failed with status (1): [/usr/bin/ruby18 -S gem push
pkg/spreadshee...]<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in <code>sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in</code>call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in
<code>sh'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in</code>sh'</p>
<p>Any hints on what is going on?</p>
<p>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.</p>
<p>Best<br>
Zeno</p></div>zdavatztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T14:06:44Z2010-12-13T14:06:44Zgem ownership - can not push gem to rubygems.org<div><p>Ok, this</p>
<p>gem owner gemcutter --add mhatakeyama at ywesee.com</p>
<p>results in</p>
<p>You do not have permission to manage this gem.</p>
<p>How do I get permission to manage the gem. mhatakeyama will also
need that permission.</p>
<p>Best<br>
Zeno</p></div>zdavatztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T14:56:20Z2010-12-13T14:56:20Zgem ownership - can not push gem to rubygems.org<div><p>The push error means that your homepage in the gemspec is not a
valid URL, check it.</p>
<p>As for the <code>gem owner</code> command, it's <code>gem owner
[GEM_NAME]</code>..so in this case, it would be
<code>spreadsheet</code>, not my gem, <code>gemcutter</code> :)</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T15:10:01Z2010-12-13T15:10:01Zgem ownership - can not push gem to rubygems.org<div><ol>
<li>Thanks! The URL in the spreadsheet.gemspec is:</li>
</ol>
<p>s.homepage = "<a href=
"http://scm.ywesee.com/?p=spreadsheet/.git;a=summary">http://scm.ywesee.com/?p=spreadsheet/.git;a=summary</a>"</p>
<p>What is wrong about that URL? The URL is valid if you enter it
in the browser.</p>
<ol>
<li>
<p>Sorry for my dumb question. Obviously I could have noted that
myself! It worked as advertised.</p>
</li>
<li>
<p>Obviously my</p>
</li>
</ol>
<p>rake release VERSION=0.6.5.0 --trace</p>
<p>somehow worked as I can now see the files here:</p>
<p><a href=
"http://rubyforge.org/frs/?group_id=678">http://rubyforge.org/frs/?group_id=678</a></p>
<p>but</p>
<p>gem search spreadsheet -r</p>
<p>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.</p>
<p>Best<br>
Zeno</p></div>zdavatztag:help.rubygems.org,2010-01-19:Comment/42384802010-12-13T16:34:26Z2010-12-13T16:34:26Zgem ownership - can not push gem to rubygems.org<div><p>Ok, now the latest gem of spreadsheet is out. I ran</p>
<p>rake release VERSION=0.6.5.0 --trace</p>
<p>again.</p>
<p>best<br>
Zeno</p></div>zdavatz