Skip to content

Commit 060758d

Browse files
author
David Heinemeier Hansson
authored
Merge pull request #7 from kirillplatonov/installer-gitignore
Exclude .keep file from .gitignore
2 parents b41088f + 9e3f240 commit 060758d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install/install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
append_to_file "app/assets/config/manifest.js", %(//= link_tree ../builds\n)
55

66
if Rails.root.join(".gitignore").exist?
7-
append_to_file(".gitignore", %(/app/assets/builds\n))
7+
append_to_file(".gitignore", %(/app/assets/builds\n!/app/assets/builds/.keep\n))
88
end
99

1010
say "Remove app/assets/stylesheets/application.css so build output can take over"

0 commit comments

Comments
 (0)