Error starting webrick


#1

I just ran the command “rails appname” and did the necessary
configurations for my database.yml, etc. When trying to boot webrick
(script/server), I get the following:

=> Booting WEBrick…
./script/…/config/…/config/environment.rb:7: warning: already
initialized cons
tant RAILS_ROOT
./script/…/config/…/config/environment.rb:14: warning: already
initialized con
stant RAILS_ENV
./script/…/config/…/config/…/config/environments/development.rb:6:
undefined
local variable or method config' for #<Object:0x2859258> (NameError) from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:142:inload’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support
/dependencies.rb:142:in load' from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:56:inrequire_or_load’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support
/dependencies.rb:30:in depend_on' from ./script/../config/../vendor/rails/activesupport/lib/active_support /dependencies.rb:74:inrequire_dependency’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support
/dependencies.rb:74:in require_dependency' from ./script/../config/../config/environment.rb:58 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inre
quire__’
… 6 levels…
from
./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:
28
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in re quire__' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inre
quire’
from script/server:3

Any ideas? I am on a Windows XP platform…
Thanks in advance.