<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -77,3 +77,16 @@ To send a message to the DataMapper logger:
   DataMapper.logger.error(&quot;something&quot;)
   DataMapper.logger.fatal(&quot;something&quot;)
 
+
+=== I want to run the specs, but I have a custom database setup
+
+For example, if you installed MySQL using MacPorts, your socket may be located
+at /opt/local/var/run/mysql5/mysqld.sock instead of /tmp/mysql.sock
+
+In that case, setup an environment variable in your shell before running the
+specs:
+  export MYSQL_SPEC_URI=&quot;mysql://localhost/dm_core_test?socket=/opt/local/var/run/mysql5/mysqld.sock&quot;
+  rake spec
+
+Using another kind of database? Note that spec_helper.rb will also look for
+SQLITE3_SPEC_URI AND POSTGRES_SPEC_URI.</diff>
      <filename>FAQ</filename>
    </modified>
    <modified>
      <diff>@@ -16,6 +16,14 @@ end
   DataMapper.setup(repository_name, &quot;mock://localhost/#{repository_name}&quot;)
 end
 
+# These environment variables will override the default connection string:
+#   MYSQL_SPEC_URI
+#   POSTGRES_SPEC_URI
+#   SQLITE3_SPEC_URI
+#
+# For example, in the bash shell, you might use:
+#   export MYSQL_SPEC_URI=&quot;mysql://localhost/dm_core_test?socket=/opt/local/var/run/mysql5/mysqld.sock&quot;
+#
 def setup_adapter(name, default_uri)
   begin
     DataMapper.setup(name, ENV[&quot;#{name.to_s.upcase}_SPEC_URI&quot;] || default_uri)</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cfa27ec525f3ef03630b461190a2763502a738ba</id>
    </parent>
  </parents>
  <author>
    <name>David James</name>
    <email>djwonk@collectiveinsight.net</email>
  </author>
  <url>http://github.com/sam/dm-core/commit/f55fc12c3d3e5e19c89636918b3dddd0fa761044</url>
  <id>f55fc12c3d3e5e19c89636918b3dddd0fa761044</id>
  <committed-date>2008-07-25T20:57:32-07:00</committed-date>
  <authored-date>2008-07-25T20:57:32-07:00</authored-date>
  <message>Docs on giving custom socket for 'rake spec'</message>
  <tree>3b1a2fc99d74b25f7a1a83aa19a8c14146e8e275</tree>
  <committer>
    <name>David James</name>
    <email>djwonk@collectiveinsight.net</email>
  </committer>
</commit>
