Hi everyone,
I created a new demo app with ‘rails demo’ and proceeded to try and
launch the server with ‘ruby scripts/server’.
I get the following stack:
C:\railsProj\demo>ruby script/server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.991/lib/active_record/
base.rb:16
45:in method_missing': undefined method
store_full_sti_class=’ for
ActiveRecord::Base:Class (NoMethodError)
from C:/manyeyes/railsEdu/demo/config/initializers/
new_rails_defaults.rb:8
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/
active_support/dependencies.rb:501:in load' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/ active_support/dependencies.rb:501:in
load’
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/
active_support/dependencies.rb:353:in new_constants_in' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.991/lib/ active_support/dependencies.rb:501:in
load’
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.991/lib/
initializer.rb:453:in load_application_initializers' from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.991/lib/ initializer.rb:452:in
each’
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.991/lib/
initializer.rb:452:in load_application_initializers' ... 30 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.991/lib/commands/ server.rb:39 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:in
gem_original_require’
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require’
from script/server:3
I have a fresh rails installation with the following gems:
*** LOCAL GEMS ***
actionmailer (2.1.0, 2.0.991.20080529111450, 2.0.991)
actionpack (2.1.0, 2.0.991.20080529111450, 2.0.991)
activerecord (2.1.0, 2.0.991.20080529111450, 2.0.991)
activeresource (2.1.0, 2.0.991.20080529111450, 2.0.991)
activesupport (2.1.0, 2.0.991.20080529111450, 2.0.991)
cgi_multipart_eof_fix (2.5.0)
fxri (0.3.6)
fxruby (1.6.12)
gem_plugin (0.2.3)
hpricot (0.6)
log4r (1.0.5)
mongrel (1.1.5)
rails (2.1.0, 2.0.991.20080529111450, 2.0.991)
rake (0.8.1, 0.7.3)
sources (0.0.1)
win32-api (1.0.4)
win32-clipboard (0.4.3)
win32-dir (0.3.2)
win32-eventlog (0.4.6)
win32-file (0.5.4)
win32-file-stat (1.2.7)
win32-process (0.5.3)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.0)
windows-pr (0.7.2)
Ruby version:
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
Any ideas?
Thanks!
-Irene