title: convert rails plugin with rake tasks and capistrano recipes into gem
body: <p>I want to convert rails plugin into gem.</p>
  
  <p>Is there any way to make gem to auto add rake tasks and capistrano recipes when mentioned in <code>environment.rb</code> using <code>config.gem</code> command?</p>