<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,17 +16,15 @@ XXX oh, we can't depend on the rails helpers at all, because they don't
     translate the time from UTC (assuming the TZ env var is correctly
     set) to site time, you've to roll our own, or monkey patch rails :/
 
-= Tests
+= Dependencies
 
-First make sure you have configured a test database in config/database.yml.
+Note that Mephisto depends on fewer gems when RAILS_ENV=production than it
+does in a development environment.
 
-Running the tests requires installing additional gems
+Run 'rake gems:install' to install the development gems.  In a production
+environment, run:
 
-  sudo rake gems:install RAILS_ENV=test
-
-You can now run the tests
-
-  rake test
+  RAILS_ENV=production rake gems:install
 
 = License
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -13,4 +13,17 @@ config.action_controller.consider_all_requests_local = true
 config.action_controller.perform_caching             = false
 
 # Don't care if the mailer can't send
-config.action_mailer.raise_delivery_errors = false
\ No newline at end of file
+config.action_mailer.raise_delivery_errors = false
+
+# These libraries are needed for our tests and specs.  We include them
+# here, and not in test.rb, because (1) it's easier to run 'rake
+# gems:install' from the development environment than from the test
+# environment, and (2) anyone doing Mephisto development should _really_ be
+# running the tests anyway.
+config.gem 'ruby-debug'
+config.gem 'faker', :version =&gt; '&gt;= 0.3.1'
+config.gem 'notahat-machinist', :version =&gt; '&gt;= 0.1.2', :lib =&gt; 'machinist',
+                                :source =&gt; 'http://gems.github.com'
+config.gem 'nokogiri', :version =&gt; '&gt;= 1.1.0' # Used by webrat.
+config.gem 'brynary-webrat', :version =&gt; '&gt;= 0.3.2.2', :lib =&gt; 'webrat',
+                             :source =&gt; 'http://gems.github.com'</diff>
      <filename>config/environments/development.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,13 +8,3 @@ config.action_mailer.delivery_method = :test
 # Disable request forgery protection in test environment
 config.action_controller.allow_forgery_protection    = false
 
- # These libraries are needed for our tests and specs.
-config.gem 'faker', :version =&gt; '&gt;= 0.3.1'
-config.gem 'notahat-machinist', :version =&gt; '&gt;= 0.1.2', :lib =&gt; 'machinist',
-                                :source =&gt; 'http://gems.github.com'
-config.gem 'nokogiri', :version =&gt; '&gt;= 1.1.0' # Used by webrat.
-config.gem 'brynary-webrat', :version =&gt; '&gt;= 0.3.2.2', :lib =&gt; 'webrat',
-                             :source =&gt; 'http://gems.github.com'
-
-config.gem 'ruby-debug'
-</diff>
      <filename>config/environments/test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>15372c45281f9147418395421e467db1b2954d75</id>
    </parent>
  </parents>
  <author>
    <name>Eric Kidd</name>
    <email>git@randomhacks.net</email>
  </author>
  <url>http://github.com/emk/mephisto/commit/5c568b5587cd3df6021e80e021485db75d3b9e44</url>
  <id>5c568b5587cd3df6021e80e021485db75d3b9e44</id>
  <committed-date>2009-02-01T17:05:17-08:00</committed-date>
  <authored-date>2009-02-01T17:05:17-08:00</authored-date>
  <message>Require test gems in development environment, not test

After experimenting a bit, this looks like a simpler approach.  It
allows developers to run:

  rake gems:install

...and it allows users to run:

  export RAILS_ENV=production
  rake gems:install

Thank you to mat for his work on this!</message>
  <tree>7352b4ac6e9c6bb3dbc5e045445fdd741450bd4e</tree>
  <committer>
    <name>Eric Kidd</name>
    <email>git@randomhacks.net</email>
  </committer>
</commit>
