summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mrbgems/generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/generator.c b/mrbgems/generator.c
index 9a76198a5..430dcb354 100644
--- a/mrbgems/generator.c
+++ b/mrbgems/generator.c
@@ -77,6 +77,8 @@ for_each_gem (char before[1024], char after[1024],
continue;
if (strcmp(gemname, "..") == 0)
continue;
+ if (strcmp(gemname, ".gitignore") == 0)
+ continue;
stat(gemname_path, &attribut);
if (S_ISDIR(attribut.st_mode) == 0) {