title: Using activerecord migrations for a non-rails application, what are the steps?
body: <p>I have a java application, and I want to use rails migrations for this.</p>
  
  <p>What are the steps to get this working?</p>
  
  <p>I have done this so far:</p>
  
  <pre><code>1. installed jruby
  2. installed the following gems: rspec, cucumber, rake
  </code></pre>
  
  <p>Do I install rails or just activerecord?</p>
  
  <p>Any suggestions on folder structure to store the Rakefile?  I'm assuming rake will only work on the same path where the rakefile is?</p>
  
  <p>How do I tell it my db connection information?</p>