<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,6 @@ require 'active_record/fixtures'
 
 desc &quot;Install Insoshi&quot;
 task :install =&gt; :environment do |t|
-  Rake::Task[&quot;db:create:all&quot;].invoke
   Rake::Task[&quot;db:migrate&quot;].invoke
   Preference.create!
 end</diff>
      <filename>lib/tasks/install.rake</filename>
    </modified>
    <modified>
      <diff>@@ -6,5 +6,7 @@ puts &quot;Creating empty files.  Please ignore permissions error messages.&quot;
 system(&quot;rake gems:install&quot;)
 # Install the gem dependencies (if any).
 system(&quot;sudo rake gems:install&quot;)
+# Create the databases.
+system(&quot;rake db:create:all&quot;)
 # Run the main install task.
 system(&quot;rake install&quot;)
\ No newline at end of file</diff>
      <filename>script/install</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>210c5841f685f1d738bb747c7c9f2c6b9da784b4</id>
    </parent>
  </parents>
  <author>
    <name>Michael Hartl</name>
    <email>michael@michaelhartl.com</email>
  </author>
  <url>http://github.com/insoshi/insoshi/commit/062adceba49de25b435fd665122dae6f4fcf9d54</url>
  <id>062adceba49de25b435fd665122dae6f4fcf9d54</id>
  <committed-date>2008-09-26T10:54:01-07:00</committed-date>
  <authored-date>2008-09-25T16:25:30-07:00</authored-date>
  <message>Moved the database creation to the install script
For some reason the 'Rake::Task[&quot;db:create:all&quot;].invoke' line won't exectute
if the databases already exist, even if they need to be migrated</message>
  <tree>4204aeecb6754eff9c1fe941139c4d113ac4e7cd</tree>
  <committer>
    <name>Michael Hartl</name>
    <email>michael@michaelhartl.com</email>
  </committer>
</commit>
