<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,12 +15,16 @@ opts = OptionParser.new do |opts|
   opts.on(&quot;-t&quot;, &quot;--test&quot;, &quot;enable test mode&quot;) do 
     options[:test] = true
   end
+  opts.on(&quot;-e&quot;, &quot;--rails-env ENV&quot;, String) do |x|
+    options[:rails_env] = x
+  end
 end
 opts.parse(ARGV)
 options[:rails_root] = File.join(File.dirname(__FILE__), *%w[.. test app]) if options[:test]
+options[:rails_env] ||= 'development'
 
 # app
-app = Rack::Adapter::Rails.new(:root =&gt; options[:rails_root])
+app = Rack::Adapter::Rails.new(:root =&gt; options[:rails_root], :environment =&gt; options[:rails_env])
 logfile = options[:rails_root] + &quot;/log/fuzed.#{Process.pid}.log&quot;
 $handler = Rack::Handler::Fuzed.new(app, logfile)
 </diff>
      <filename>rlibs/rails_node.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 # Uncomment below to force Rails into production mode when 
 # you don't control web/app server and can't set it the proper way
-ENV['RAILS_ENV'] ||= 'production'
+# ENV['RAILS_ENV'] ||= 'production'
 
 # Specifies gem version of Rails to use when vendor/rails is not present
 RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION</diff>
      <filename>test/app/config/environment.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d69a9152bef2170f2f14dea1c6c7c00e89c098e4</id>
    </parent>
    <parent>
      <id>a47e8d11371a4a53fc136e388227806cffbf2cd8</id>
    </parent>
  </parents>
  <author>
    <name>David Fayram</name>
    <email>dfayram@gmail.com</email>
  </author>
  <url>http://github.com/KirinDave/fuzed/commit/c1bc18a8908767410a89de3887c81b4c4c01065f</url>
  <id>c1bc18a8908767410a89de3887c81b4c4c01065f</id>
  <committed-date>2008-06-10T19:09:44-07:00</committed-date>
  <authored-date>2008-06-10T19:09:44-07:00</authored-date>
  <message>Merge branch 'master' of git://github.com/mojombo/fuzed</message>
  <tree>ad1cefdb6b308e4326286ccf68eed014c5e20d77</tree>
  <committer>
    <name>David Fayram</name>
    <email>dfayram@gmail.com</email>
  </committer>
</commit>
