Rails engines in textdrive error


#1

Hi,

Login_engine just working fine on my local MacOSX but fails on
textDrive Hosting when I try to launch the lighttpd process

Rails 1.0 and Ruby 1.8

Any idea ?

/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:200:in const_missing': uninitialized constant SchemaDumper (NameError) from /users/home/cguegan/web/wine/content/public/../ config/../vendor/plugins/engines/lib/engines/ active_record_extensions.rb:19 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:inrequire’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/
lib/active_support/dependencies.rb:214:in require' from /users/home/cguegan/web/wine/content/public/../ config/../vendor/plugins/engines/lib/engines.rb:402 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:inrequire’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/
lib/active_support/dependencies.rb:214:in require' from /users/home/cguegan/web/wine/content/public/../ config/../vendor/plugins/engines/init.rb:32:inload_plugin’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:311:in load_plugin' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/ lib/active_support/core_ext/kernel.rb:27:insilence_warnings’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:311:in load_plugin' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:145:inload_plugins’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:145:in load_plugins' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:100:inprocess’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:42:in run' from /users/home/cguegan/web/wine/content/public/../config/ environment.rb:10 from /users/home/cguegan/web/wine/content/public/ dispatch.fcgi:21 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:inconst_missing’: uninitialized
constant SchemaDumper (NameError)
from /users/home/cguegan/web/wine/content/public/…/
config/…/vendor/plugins/engines/lib/engines/
active_record_extensions.rb:19
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/ lib/active_support/dependencies.rb:214:inrequire’
from /users/home/cguegan/web/wine/content/public/…/
config/…/vendor/plugins/engines/lib/engines.rb:402
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/ lib/active_support/dependencies.rb:214:inrequire’
from /users/home/cguegan/web/wine/content/public/…/
config/…/vendor/plugins/engines/init.rb:32:in load_plugin' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:311:inload_plugin’
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/
lib/active_support/core_ext/kernel.rb:27:in silence_warnings' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:311:inload_plugin’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:145:in load_plugins' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:145:inload_plugins’
from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/
initializer.rb:100:in process' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/ initializer.rb:42:inrun’
from /users/home/cguegan/web/wine/content/public/…/config/
environment.rb:10
from /users/home/cguegan/web/wine/content/public/
dispatch.fcgi:21


#2

Le 13-avr.-06 à 10:02, Christophe Guégan a écrit :

active_support/dependencies.rb:200:in `const_missing’: uninitialized
constant SchemaDumper (NameError)

I’ve tried to make a fresh install of a rails project on textDrive
without any error and then just do

script/plugin install engines

At this point the lighttpd server returns me the same error :
“uninitialized constant SchemaDumper”
when I try to start the server.

Do you think it can be ruby version 1.8 ? Does engines need 1.8.4 to
work ?

Thanks for your help

Christophe


#3

Hi,

This is a bug that has been fixed in the 1.1 release branch:
http://dev.rails-engines.org/tickets/132
http://dev.rails-engines.org/repository/changesets/352

This will be fixed in the Engines 1.1.2, but you can apply the patch
now if you need it.

Regards,
Jon

On 17/04/06, Christophe Guégan removed_email_address@domain.invalid wrote:

Rails 1.0 and Ruby 1.8

Christophe


engine-users mailing list
removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org


http://www.snowblink.co.uk/