uninitialized constant Picnic::Utils::Logger

1 view
Skip to first unread message

automatsvet

unread,
Sep 17, 2008, 8:43:54 AM9/17/08
to RubyCAS
Hello,
I think I need some help.. after installing and setting up config.yml
I get this error message:

# rubycas-server

Adding Picnic functionality to CASServer from /opt/ruby-
enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/picnic-0.6.4/lib...
Loading configuration for CASServer from '/etc/rubycas-server/
config.yml'...
Initializing CASServer logger...
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
activesupport-2.1.1/lib/active_support/dependencies.rb:493:in
`const_missing': uninitialized constant Picnic::Utils::Logger::INFO
(NameError)

It's a Centos 5.2 box with ruby-enterprise 1.8.6, the same config.yml
seems to work fine on my local machine..

This happen with rubycas-server 0.6.0 and rubycas-server-0.6.99.308
gems.

Thanks!

asvet

Aaron Sumner

unread,
Sep 18, 2008, 3:13:53 PM9/18/08
to RubyCAS
I just started getting this same error and suspect it's due to
ActiveSupport being updated in Rails 2.1.1, but I don't know what to
do about it just yet.

Ryan Smith

unread,
Sep 18, 2008, 4:12:40 PM9/18/08
to rubycas...@googlegroups.com
I spent hours on this issue. . . . At first i thought that i may be an isolated case, i guess not.

 I was using rails v2.1.1 and saw this same type of error. After removing v2.1.1 and installing 2.0.1 i was able to get things up and running.

Matt Zukowski

unread,
Sep 18, 2008, 5:16:37 PM9/18/08
to RubyCAS
Guys, I just released version 0.6.5 of picnic that should fix the
problems with activesupport 2.1.x. In about an hour when rubyforge
refreshes itself, you should be able to do a 'gem install picnic' to
upgrade to the latest version. Let me know if this does the trick!

Aaron Sumner

unread,
Sep 19, 2008, 2:32:57 PM9/19/08
to RubyCAS
Wonderful, thanks Matt!

automatsvet

unread,
Sep 22, 2008, 5:02:22 AM9/22/08
to RubyCAS
Matt,
thanks for your help, It works fine on webrick, but I still get issues
on mongrel:

** CASServer is starting. Look in "/var/log/casserver.log" for further
notices.
Initializing CASServer logger...
/opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
activesupport-2.1.1/lib/active_support/dependencies.rb:279:in
`load_missing_constant': uninitialized constant
CASServer::Utils::Logger (NameError)
from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
activesupport-2.1.1/lib/active_support/dependencies.rb:468:in
`const_missing'
from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
picnic-0.6.5/lib/picnic.rb:44:in `init_logger'
from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
picnic-0.6.5/lib/picnic/postambles.rb:183:in `cloaker_'
from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `call'
from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/
mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `initi
alize'

Thanks again!

asvet

Matt Zukowski

unread,
Sep 22, 2008, 9:44:51 AM9/22/08
to rubycas...@googlegroups.com
Sorry about that guys. I guess I released that prematurely. I just re-uploaded the 0.6.5 picnic files. Please try reinstalling it (your best bet is to go download the file directly and install it locally: http://rubyforge.org/frs/download.php/43773/picnic-0.6.5.gem)

automatsvet

unread,
Sep 22, 2008, 11:00:09 AM9/22/08
to RubyCAS
Great! now everything works fine.
Thank you very much!
asvet
Reply all
Reply to author
Forward
0 new messages