I'm using InstantRails to build my rails app. Anytime i try to run a rails script (the two i usually run are `ruby script/server webrick` and `ruby script/runner 'Mailer.check_mail'` (an ActionMailer to check a GMail account over IMAP and retrieve messages). I have profiled both of these applications with Ruby Performance Validator, and they are both spending like 98% of the time at require_frameworks(). I can see that as being acceptable for webrick, but why would the mailer script be running so slow, especially after I have webrick (and the associated frameworks) loaded and running?
I have tried messing around with setting RUBYOPT=rubygems, but that doesn't seem to help.
I am on a windows box running Ruby 1.8.6, Rails 2.0.2. Any help would be appreciated!