Use STDIN.gets instead of gets (fix #gets in Rake tasks)