title: Rails 3 - Speed up Console Loading Time
body: <p>I am wondering if there is any relatively easy way to speed up my console load time, which is starting to approach 30 seconds.  I have a lot of subclasses whose methods don't seem to be affected by <code>reload!</code> so I end up opening and closing the console a lot.  IRB loads lightning quick.  </p>
  
  <p>Do I have too many gems?  How do I go about timing the load tasks so I can see what is taking up the most time?  As you can see, I've already tried the dev-boost gem to no avail.  The app is fine in Passenger, it's just the console loading that bugs the crap out of me.  Running on MBP OSX 10.6.6 with 2.4GHz and 4GB RAM.  Not using RVM. </p>
  
  <p>Versions:</p>
  
  <pre><code>Ovid$ rails -v
  Rails 3.0.3
  Ovid$ ruby -v
  ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10]
  </code></pre>
  
  <p>Memory:</p>
  
  <pre><code>Ovid$ vm_stat
  Mach Virtual Memory Statistics: (page size of 4096 bytes)
  Pages free:                         118818.
  Pages active:                       341320.
  Pages inactive:                      99490.
  Pages speculative:                  310576.
  Pages wired down:                   112527.
  "Translation faults":             23097323.
  Pages copy-on-write:               1270961.
  Pages zero filled:                13836659.
  Pages reactivated:                      36.
  Pageins:                            165761.
  Pageouts:                                0.
  Object cache: 28 hits of 760846 lookups (0% hit rate)
  </code></pre>
  
  <p>Gemfile:</p>
  
  <pre><code>source 'http://rubygems.org'
  
  gem 'rails', '3.0.3'
  gem 'mysql2'
  gem 'foreigner'
  gem 'haml'
  gem 'capistrano'
  gem 'nokogiri'
  
  #web services
  gem 'yammer4r'
  gem 'ruby-freshbooks'
  
  #authentication gems from nifty generator
  gem "bcrypt-ruby", :require =&gt; "bcrypt"
  gem "mocha", :group =&gt; :test
  gem 'authlogic'
  
  #dev
  group :development do
    gem 'rails-dev-boost', :git =&gt; 'git://github.com/thedarkone/rails-dev-boost.git', :require =&gt; 'rails_development_boost'
  end
  
  #testing
  group :test do
    gem 'database_cleaner'
    gem 'cucumber-rails'
    gem 'cucumber'
    gem 'rspec-rails'
    gem 'spork'
    gem 'launchy'
    gem 'machinist'
    gem 'faker'
    gem 'capybara'
  end
  </code></pre>
  
  <p>Thank you very much!</p>