title: What does bundle exec rake mean?
body: <p>What does <code>bundle exec rake db:migrate</code> mean? Or just <code>bundle exec rake &lt;command&gt;</code> in general?</p>
  
  <p>I understand that <code>bundle</code> takes care of maintaining things in the Gemfile.  I know what the word "exec" means.  I understand that <code>rake</code> maintains all the different scripty things you can do, and I know that <code>db:migrate</code> is one of those. I just don't know what all these words are doing together.  Why should <code>bundle</code> be used to execute <code>rake</code> to execute a database migrate?</p>