6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gemの管理者を追加する

Last updated at Posted at 2014-04-02

*.gemspec と RubyGems.org API

RubyのgemはRubyGems.orgで集中管理されています。

通常gemの設定自体は*.gemspecファイルに記述しますが、これはあくまでgemそのものの設定であって、RubyGems.orgでの管理については*.gemspecで設定しているわけではありません。これは、RubyGems.orgの方で別途管理されています。RubyGems.orgのAPIを使います

gem ownerコマンド

RubyGems.orgへの登録や更新には、最近ではbundle gemコマンドを使ったりしますが、RubyGems.orgでのgemの管理者を追加するにはgem ownerコマンドを使います。

管理者の指定方法にはメールアドレスを使います。fooというgemにanother@example.comを追加するには以下のようにします。

$ gem owner foo -a another@example.com

参考

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?