On Sep 9, 6:50 am, William Lefevre <[EMAIL PROTECTED]>
wrote:
> Greetings,
> I just started a new Rails app and it's dead in the
> water. It appears to be something to do with my lighttpd server or
> fastcgi. The error is '500 - internal server error'.
Well the fact that I doesn't work with webrick either rather suggests
it's not a fastcgi problem
>
> When I try to start Webrick instead to see if that works, it doesn't
> start and throws this error instead:
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:278:in
> `load_missing_constant': uninitialized constant ActiveRecord (NameError)
Have you disable active_record in environment.rb ?
Fred
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:467:in
> `const_missing'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:479:in
> `const_missing'
> from
> /Users/William/Projects/rails/hidden-spaces/config/initializers/new_rails_d
> efaults.rb:5
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:502:in
> `load'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:502:in
> `load'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:354:in
> `new_constants_in'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/de
> pendencies.rb:502:in
> `load'
> from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:475:in
> `load_application_initializers'
> ... 17 levels...
> from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> from script/server:3
>
> This is a bit out of my league. If anyone has any insight I would love
> it.
>
> Thanks,
> William
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---