From: nobu@... Date: 2015-06-02T02:49:51+00:00 Subject: [ruby-core:69440] [Ruby trunk - Bug #11206] short file name match incompatibility Issue #11206 has been updated by Nobuyoshi Nakada. Conflict with #10819. Can these reach a compromise? ---------------------------------------- Bug #11206: short file name match incompatibility https://bugs.ruby-lang.org/issues/11206#change-52710 * Author: Yui NARUSE * Status: Assigned * Priority: Normal * Assignee: Nobuyoshi Nakada * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- When I develop a foo.gem, my working diretory has foo.gemspec and foo.gem. If I run `gem install -l foo`, it fails as following: ERROR: While executing gem ... (Gem::Package::FormatError) package metadata is missing in foo.gemspec Because gem command tries to traverse the current directory with Dir["*.gem"], and it include *.gemspec. Another example, Rakefile has `rake clean` task and it is specified by CLEAN constant. if I specify CLEAN.include( "*.gem" ), it removes *.gemspec. -- https://bugs.ruby-lang.org/