Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

script/plugin install should remove .gitignore too. [#1306 state:reso…

…lved] [Esad Hajdarevic]
  • Loading branch information...
commit 8bc0f90d6d5a6d653b9834e8bbca6ac20e25c293 1 parent 6a13376
@lifo lifo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/commands/plugin.rb
View
4 railties/lib/commands/plugin.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.