Andrew Bonner
Andrew Bonner

Reputation: 3

Error pushing ruby gem to rubygems.org

This is my first time pushing a ruby gem to rubygems.org, and I keep getting this message when I push the gem:

`ERROR:  While executing gem ... (Errno::EISDIR)                                                                                                 
Is a directory @ io_fread - tripadvisor-choice-cli-gem`

Any ideas? Let me know if I need to share anything else to shed light on the error. Thanks!

Upvotes: 0

Views: 88

Answers (1)

tadman
tadman

Reputation: 211700

You must push a specific .gem file, not the directory in which the gem resides. That means in practice something like:

gem push my-gem-0.1.0.gem

Where that represents a very specific version of your gem. Normally you get that file from:

gem build my-gem.gemspec

Where that .gemspec file is either hand-authored or produced by some other process (e.g. rake).

Upvotes: 1

Related Questions