Proper scope in Rakefile