Skip to content

Commit

Permalink
Fixing plugins:install question
Browse files Browse the repository at this point in the history
  • Loading branch information
Winton Welsh committed Sep 9, 2008
1 parent 497c11c commit e39b4b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/git.rake
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ namespace :app_helpers do
desc 'Adds plugins defined in config/plugins.rb'
task :install do
puts "Review config/plugins.rb. Install plugins now? (y/n)"
yn = STDIN.gets
if yn.capitalize == 'Y'
if STDIN.gets.upcase.strip == 'Y'
eval(File.read('config/plugins.rb')).each do |plugin|
if plugin == 'haml'
puts plugin
Expand Down

0 comments on commit e39b4b8

Please sign in to comment.