diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-03-06 17:22:52 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-06 17:23:31 +0000 |
commit | 8bc0f90d6d5a6d653b9834e8bbca6ac20e25c293 (patch) | |
tree | 31ac0572d209d406ef5db476f272cf54860f0c23 /railties/lib/commands | |
parent | 6a13376525f34a00e013fc3a6022838329dfe856 (diff) | |
download | rails-8bc0f90d6d5a6d653b9834e8bbca6ac20e25c293.tar.gz rails-8bc0f90d6d5a6d653b9834e8bbca6ac20e25c293.tar.bz2 rails-8bc0f90d6d5a6d653b9834e8bbca6ac20e25c293.zip |
script/plugin install should remove .gitignore too. [#1306 state:resolved] [Esad Hajdarevic]
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index 9ff4739562..a67c2ab447 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -278,8 +278,8 @@ class Plugin base_cmd += " #{options[:revision]}" if options[:revision] puts base_cmd if $verbose if system(base_cmd) - puts "removing: .git" if $verbose - rm_rf ".git" + puts "removing: .git .gitignore" if $verbose + rm_rf %w(.git .gitignore) else rm_rf install_path end |