uninitialized constant Logging

16 views
Skip to first unread message

Soren

unread,
Jan 25, 2010, 5:30:16 PM1/25/10
to ZiYa Plugin
Hi,

I have Rails 2.3.2 and:

derailed-ziya-2.1.5
gemcutter-0.3.0

If I try to start Rails in production mode without config/initializers/
ziya.rb things works fine, but when I have a ziya.rb with this content
I get the error shown below the code.

Does anyone have suggestions on how to get rid of this problem.

I should also add that I use ActiveScaffold(AS) extensively. Is there
a know problem combining them AS & Ziya ?

cat config/initializers/50-ziya.rb
# Pull in the ZiYa gem framework
gem "derailed-ziya", ">= 2.1.0"
require 'ziya'

# Initializes the ZiYa Framework
Ziya.initialize(
:logger => RAILS_DEFAULT_LOGGER,
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public
charts themes])
)


script/server -e production
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
dependencies.rb:443:in `load_missing_constant': uninitialized constant
Logging (NameError)
from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:80:in `const_missing'
from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:92:in `const_missing'
from /usr/lib64/ruby/gems/1.8/gems/logging-1.3.0/lib/
logging.rb:504
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:
33

Reply all
Reply to author
Forward
0 new messages