Project

General

Profile

Actions

Bug #11206

closed

short file name match incompatibility

Added by naruse (Yui NARUSE) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:69435]

Description

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.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #10819: can't glob win32 short pathname Closed02/02/2015Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0