Hi Guys,
   I'm trying to get my app up to rails 2.3.2, but I have a problem -
I can't start the app with Mongrel or Thin, and the "rake middleware"
all return the same error. I'm using the edge version of rails so my
normal dev environment can stay at 2.2.2.

Starting thin, I see:
d...@omena ~/Development/rails/booko_rails_2.3 $ thin start
>> Using rails adapter
/Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/actionpack/
lib/action_dispatch/vendor/rack-1.0/rack.rb:17: warning: already
initialized constant VERSION
/Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/dependencies.rb:440:in
`load_missing_constant': uninitialized constant
ActionController::Failsafe (NameError)
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/inflector.rb:361:in `constantize'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/inflector.rb:360:in `each'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/inflector.rb:360:in `constantize'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/core_ext/string/inflections.rb:162:in
`constantize'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
actionpack/lib/action_dispatch/middleware/stack.rb:58:in `=='
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
actionpack/lib/action_dispatch/middleware/stack.rb:97:in `index'
        from /Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
actionpack/lib/action_dispatch/middleware/stack.rb:97:in
`insert_after'
         ... 15 levels...
        from /Library/Ruby/Gems/1.8/gems/thin-1.0.0/lib/thin/runner.rb:139:in
`run!'
        from /Library/Ruby/Gems/1.8/gems/thin-1.0.0/bin/thin:6
        from /usr/bin/thin:19:in `load'
        from /usr/bin/thin:19

Or with Rake:
d...@omena ~/Development/rails/booko_rails_2.3 $ rake middleware
(in /Users/dkam/Development/rails/booko_rails_2.3)
rake aborted!
uninitialized constant ActionController::Failsafe

(See full trace by running task with --trace)

Starting the console returns the same error:
d...@omena ~/Development/rails/booko_rails_2.3 $ ./script/console
Loading development environment (Rails 2.3.2)
/Users/dkam/Development/rails/booko_rails_2.3/vendor/rails/
activesupport/lib/active_support/dependencies.rb:440:in
`load_missing_constant':NameError: uninitialized constant
ActionController::Failsafe

I'm running Ruby 1.8.6:
$ ruby --version
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

Any ideas on what's causing this and how to fix it?

Cheers,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to