Skip to content
Browse files

Fixing plugins:install question

  • Loading branch information...
1 parent 497c11c commit e39b4b8520d817366244d3619ff00072ad204eba Winton Welsh committed Sep 9, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 tasks/git.rake
View
3 tasks/git.rake
@@ -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

0 comments on commit e39b4b8

Please sign in to comment.
Something went wrong with that request. Please try again.