title: When using Bundler and Rails 2.3.5 I get uninitialized constant SubdomainFu when migrating
body: <p>I'm using bundler with rails 2.3.5 and I'm trying to make sure everything is working correctly but when I do a "rake db:migrate --trace" I get this </p>
  
  <p><code>** Invoke db:migrate (first_time)
  ** Invoke environment (first_time)
  ** Execute environment
  rake aborted!
  uninitialized constant SubdomainFu
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in</code>load_missing_constant'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in <code>const_missing'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:92:in</code>const_missing'
  /Users/node/Projects/Race-RX/config/initializers/subdomain_config.rb:1
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in <code>load_without_new_constant_marking'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in</code>load'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in <code>new_constants_in'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in</code>load'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in <code>load_application_initializers'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in</code>each'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in <code>load_application_initializers'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176:in</code>process'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in <code>send'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in</code>run'
  /Users/node/Projects/Race-RX/config/environment.rb:9
  /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in <code>gem_original_require'
  /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in</code>require'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in <code>require'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in</code>new_constants_in'
  /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in <code>require'
  /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in</code>call'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in <code>execute'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in</code>each'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in <code>execute'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in</code>invoke_with_call_chain'
  /opt/local/lib/ruby/1.8/monitor.rb:242:in <code>synchronize'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in</code>invoke_with_call_chain'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in <code>invoke_prerequisites'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in</code>each'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in <code>invoke_prerequisites'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in</code>invoke_with_call_chain'
  /opt/local/lib/ruby/1.8/monitor.rb:242:in <code>synchronize'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in</code>invoke_with_call_chain'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in <code>invoke'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in</code>invoke_task'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in <code>top_level'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in</code>each'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in <code>top_level'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in</code>standard_exception_handling'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in <code>top_level'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in</code>run'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in <code>standard_exception_handling'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in</code>run'
  /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
  /opt/local/bin/rake:19:in <code>load'
  /opt/local/bin/rake:19
  </code></p>
  
  <p>I don't know what could be causing this. I did however but my </p>
  
  <p>require "rubygems"
  require "bundler"
  Bundler.setup</p>
  
  <p>in my enviroment.rb file but that doesn't see to be the problem. </p>