Rails Server Issues

=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at
** Starting Rails with development environment…
mongrel.rb:15: warning: already initialized constant OPTIONS
mongrel.rb:18: undefined method options' for []:Array (NoMethodError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ custom_require.rb:32:in gem_original_require’
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:32:in require' from /Users/zachinglis/Sites/Rails/todo/vendor/rails/ activesupport/lib/active_support/dependencies.rb:495:in require’
from /Users/zachinglis/Sites/Rails/todo/vendor/rails/
new_constants_in' from /Users/zachinglis/Sites/Rails/todo/vendor/rails/ activesupport/lib/active_support/dependencies.rb:495:in require’
from /Users/zachinglis/Sites/Rails/todo/vendor/rails/
from script/server:3:in `require’
from script/server:3

I get this with:
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]
rails 1.2.3 with frozen edge.

Rails 1.2.3 isn’t doing things for me as it should, so I decided to
freeze to edge. I prefer edge anyway, and i get this error.
Happens in both Mongrel and Webrick.

Zach I.
→ Blog – http://www.zachinglis.com
→ Company – http://www.lt3media.com
→ Portfolio – http://portfolio.zachinglis.com

I had a similar problem last week. It might be that your gems
executable is
a) not up to date
b) not at the right location might be in /opt/local/lib/ but is
expected in /usr/local/bin
I had two versions one in /opt/local/lib and one in /usr/local/bin the
one in /opt/local/lib was broken so I just did
#/opt/local/lib/ :> ln -s /usr/local/bin/gem . and that worked out
for me.