From: nobu@... Date: 2015-06-02T05:43:18+00:00 Subject: [ruby-core:69443] [Ruby trunk - Bug #11206] short file name match incompatibility Issue #11206 has been updated by Nobuyoshi Nakada. Running these commands as the administrator would fix the problem: 1. `fsutil 8dot3name set 1` 2. `fsutil 8dot3name strip /s /f c:\` ---------------------------------------- Bug #11206: short file name match incompatibility https://bugs.ruby-lang.org/issues/11206#change-52715 * 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/