Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add more 'owners' to a gem in RubyGem

Tags:

ruby

rubygems

I want to add a new owner of a gem in RubyGem but I don't know where I should do this:

  • in the .gemspec?
  • in any place in RubyGems.org page?

I have tried to use the gemspec options:

  • s.authors
  • s.email

But still not seeing my co-owner.

For a concrete example I'm trying with this gem:

  • https://rubygems.org/gems/evax
  • https://github.com/SponsorPay/Evax/blob/master/evax.gemspec
like image 560
fguillen Avatar asked Dec 13 '11 09:12

fguillen


People also ask

What is GEM command?

The gem command allows you to interact with RubyGems. Ruby 1.9 and newer ships with RubyGems built-in but you may need to upgrade for bug fixes or new features. To upgrade RubyGems, visit the download page. If you want to see how to require files from a gem, skip ahead to What is a gem. Finding Gems.

How do I add a new gem source in Ruby?

Many of the most popular gems are accessible from rubygems.org, the default gem source for Ruby. To add a new gem source: The -a flag indicates that we will be appending a new gem source, and the URL that follows is the web address of the gem server you wish to add. .

Can I create and publish my own RubyGems?

Creating and publishing your own gem is simple thanks to the tools baked right into RubyGems. Let’s make a simple “hello world” gem, and feel free to play along at home!

How to share your gem with the rest of the Ruby community?

Now you can share hola with the rest of the Ruby community. Publishing your gem out to RubyGems.org only takes one command, provided that you have an account on the site. To setup your computer with your RubyGems account, you can run below command (where qrush should be replaced by your own username):

What is the use of @RubyGems?

RubyGems downloads the gem and installs it into your current Ruby version’s common directory. Then, all of the Ruby applications in your development environment that use the current version of Ruby will have access to the new gem’s functionality.


1 Answers

It's done with the gem command, see here

gem owner my_gem -a [email protected] 
like image 116
Tatu Lahtela Avatar answered Sep 28 '22 18:09

Tatu Lahtela