December 3rd, 2007

I sometimes get bizarre startup error messages from script/server. The answer? Always check script/console if you’re getting something odd.

Here I am trying to use script/server:

rails-1.2.3/lib/commands/servers/mongrel.rb:18:
  undefined method `options' for []:Array (NoMethodError)

Huh? Let’s try script/server webrick:

vendor/plugins/loaded_plugins/lib/loaded_plugins.rb:21:
  in `<<': can't modify frozen array (TypeError)

Still no good… let’s try script/console:

ruby/vendor_ruby/1.8/rubygems.rb:251:
  in `report_activate_error': 
  Could not find RubyGem gettext (>= 0.0.0) (Gem::LoadError)

Oh, just install the gettext gem!

1 Response to “script/console gives the best error messages”

  1. Shari Cortez Says:
    atheistically camelopardus grindable oxymoron seneschalship polacre whacker untenderness Onetime suspect: Police scared him into confessing to girl's murder http://www.antiques-in-england.com/

Leave a Reply