How to reserve gem name?

Mike Perham's Avatar

Mike Perham

04 Feb, 2017 05:00 PM

Hi, I reserved the `sidekiq-pro` gem name several years ago (by pushing and yanking a version). Now it appears that it is available for anyone to push to again. Is there a way for me to reserve the name on a permanent basis? If anyone pushes a gem with this name, it's 100% guaranteed either a mistake or illegal.

  1. Support Staff 1 Posted by Evan Phoenix on 04 Feb, 2017 08:42 PM

    Evan Phoenix's Avatar

    You need to have one live version to keep it reserved.

  2. 2 Posted by Gray Wolf on 25 Mar, 2017 01:49 PM

    Gray Wolf's Avatar

    Just push a gem at 0.0.0 version with single line in lib/NAME.rb

    raise "Placeholder"
    

    Should work just fine.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Mar, 2017 09:30 PM
29 Mar, 2017 09:27 PM
29 Mar, 2017 03:24 PM
29 Mar, 2017 03:10 PM
29 Mar, 2017 03:04 PM