I solved the problem by my own:
The error occured, because the photo model requires the rmagick ruby
bindings, wich were not installed.
But... why is this require error not thrown anywhere?
Am Freitag, den 18.02.2005, 19:13 +0100 schrieb Norman
Timmler:> I have a problem installing a application, wich is running error-free on
> the one server, on another. I user exactly the same rails gems on both.
>
> actionmailer-0.6.1
> actionpack-1.3.1
> activerecord-1.5.1
> rails-0.9.4.1
>
> I heard about a bug in ''require_or_load'' if using
>
> Dependencies.mechanism = :load
>
> but i use
>
> Dependencies.mechanism = :require
>
> Any ideas?
>
>
> TypeError (superclass must be a Class (NilClass given)):
> /app/models/rollover_photo.rb:5
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require__''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require''
> /app/models/category.rb:4
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require__''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:34:in
`require_or_load''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:17:in
`depend_on''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:38:in
`require_dependency''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:38:in
`require_dependency''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/dependencies.rb:70:in
`require_dependencies''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/dependencies.rb:68:in
`each''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/dependencies.rb:68:in
`require_dependencies''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/dependencies.rb:33:in
`model''
> /app/controllers/frontend_controller.rb:7
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require__''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require''
> /app/controllers/home_controller.rb:1
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require__''
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:34:in
`require_or_load''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:17:in
`depend_on''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:38:in
`require_dependency''
>
/usr/lib/ruby/gems/1.8/gems/actionpack-1.3.1/lib/action_controller/support/dependencies.rb:38:in
`require_dependency''
> /usr/lib/ruby/gems/1.8/gems/rails-0.9.4.1/lib/dispatcher.rb:38:in
> `dispatch''
> /public/dispatch.cgi:12
>
>
--
Norman Timmler
Holländische Reihe 31
22765 Hamburg
+49 (0)40 / 43 25 10 80
mailto:norman-QkIQCVqxERM@public.gmane.org