title: What's the 'environment' task in Rake?
body: <p>According to "<a href="http://railscasts.com/episodes/66-custom-rake-tasks" rel="noreferrer">Custom Rake Tasks</a>":</p>
  
  <pre><code>desc "Pick a random user as the winner"
  task :winner =&gt; :environment do
    puts "Winner: #{pick(User).name}"
  end
  </code></pre>
  
  <p>As far as I know, the <code>:winner =&gt; :environment</code> means "do <code>environment</code> before <code>winner</code>". But what's <code>environment</code>? When should I use it?</p>
  
  <p>I tried <code>rake -T</code>, but in the list I couldn't find <code>environment</code>.</p>