Skip to content

Commit

Permalink
script/plugin install should remove .gitignore too. [rails#1306 state…
Browse files Browse the repository at this point in the history
…:resolved] [Esad Hajdarevic]
  • Loading branch information
lifo committed Mar 6, 2009
1 parent 6a13376 commit 8bc0f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/lib/commands/plugin.rb
Expand Up @@ -278,8 +278,8 @@ def install_using_git(options = {})
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
Expand Down

0 comments on commit 8bc0f90

Please sign in to comment.