Cannot gem install my own gem

Jaryl Sim's Avatar

Jaryl Sim

09 Apr, 2011 01:59 PM

I am having some problems publishing a gem. This is what I did from scratch with a blank gem.

bundle gem my-gem
gem build my-gem.gemspec
gem push my-gem-0.0.1.gem

In between, I did edit the gemspec file to fill up my information. The problem I am having is that when I try to install it,

gem install my-gem

I get this error,

ERROR:  Could not find a valid gem 'jaryl' (>= 0) in any repository

What am I missing?

  1. 1 Posted by Jaryl Sim on 10 Apr, 2011 06:38 AM

    Jaryl Sim's Avatar

    It's working now, so I'm thinking that it takes some time before the gem becomes available for download?

  2. Support Staff 2 Posted by Nick Quaranto on 20 Apr, 2011 12:28 PM

    Nick Quaranto's Avatar

    Yeah, our Delayed::Job worker died last week, so it had to catch up once we figured that out. It should take less than a minute for new gems to show up otherwise.

  3. Nick Quaranto closed this discussion on 20 Apr, 2011 12:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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