<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,6 +10,8 @@ require &quot;rr/adapters/rspec&quot;
 
 require &quot;#{dir}/spec_helpers/remove_project_constants_helper&quot;
 
+gem 'sqlite3-ruby' # required for tests to work on OSX
+
 Spec::Runner.configure do |config|
   config.mock_with RR::Adapters::Rspec
 end</diff>
      <filename>spec/rails_root/spec/rails_spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,13 @@
 require File.expand_path(&quot;#{File.dirname(__FILE__)}/../rails_spec_helper&quot;)
 
 describe &quot;rake db:schema:dump&quot; do
-  it &quot;has an exit code of 0&quot; do
-    FileUtils.cd(RAILS_ROOT) do
-      system(&quot;rake db:schema:dump -tv&quot;) || raise(&quot;db:schema:dump failed&quot;)
+  if RUBY_PLATFORM =~ /darwin/
+    it &quot;is disabled for desert tests on OSX, because it cannot activate sqlite3 gem via a system call to rake&quot;
+  else
+    it &quot;has an exit code of 0&quot; do
+      FileUtils.cd(RAILS_ROOT) do
+        system(&quot;rake db:schema:dump -tv&quot;) || raise(&quot;db:schema:dump failed&quot;)
+      end
     end
   end
 end
\ No newline at end of file</diff>
      <filename>spec/rails_root/spec/tasks/schema_dump_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1e2821a2893363a69d4dc37925f7f78e680af2c8</id>
    </parent>
  </parents>
  <author>
    <name>Chad Woolley</name>
    <email>thewoolleyman@gmail.com</email>
  </author>
  <url>http://github.com/tog/desert/commit/c847be94e791c8967f4b7df90b83f5d1ae1c89b9</url>
  <id>c847be94e791c8967f4b7df90b83f5d1ae1c89b9</id>
  <committed-date>2009-04-22T03:17:01-07:00</committed-date>
  <authored-date>2009-03-04T04:36:44-08:00</authored-date>
  <message>work around problems with sqlite3-ruby gem not being properly activated via desert rails tests on OSX

Signed-off-by: Aitor Garc&#237;a Rey &lt;aitor@linkingpaths.com&gt;</message>
  <tree>2fa3c549f8ac8ed9835fad878858207ba93b9598</tree>
  <committer>
    <name>Aitor Garc&#237;a Rey</name>
    <email>aitor@linkingpaths.com</email>
  </committer>
</commit>
