# Hi all!

**URL:** <https://www.ruby-forum.com/t/hi-all/163571>\
**Category:** Mongrel\
**Created:** [March 22, 2009, 6:43am UTC](https://www.ruby-forum.com/t/hi-all/163571 "2009-03-22T06:43:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![his2000x](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/3d9bf3/32.png) [@his2000x](https://www.ruby-forum.com/u/his2000x)\
**Post date:** [March 22, 2009, 6:43am UTC](https://www.ruby-forum.com/t/hi-all/163571/1 "2009-03-22T06:43:43Z")

</div>

hi all

i’m can’t speak english well…

i used not rails webframework.  
i used camping webframework…

i has something problem.

i used gems list is…  
mongrel-1.1.5  
camping-1.5.180

and update now…

camping-1.9.300

so, My blog looks like an error on the server.

my old code is …

615 if **FILE** == $0  
616 require ‘mongrel/camping’  
617  
618 Conf::Models::Base.establish\_connection :adapter =\> ‘sqlite3’,  
:database =\> ‘conf.db’  
619 Conf::Models::Base.logger = Logger.new(‘conf.log’)  
620 Conf.create  
621  
622 config = Mongrel::Configurator.new :host =\> “0.0.0.0” do  
623 listener :port =\> 80 do  
624 uri “/”, :handler =\>  
Mongrel:🏕:CampingHandler.new(Conf)  
625 uri “/favicon”, :handler =\>  
Mongrel::Error404Handler.new(“”)  
626 trap(“INT”) { stop }  
627 run  
628 end  
629 end  
630  
631 puts “\*\* [http://localhost:80/](http://localhost:80/)”  
632 t = Time.now  
633 @servertime=t  
634 puts “ì„œë²„ ì‹œìž‘ ì‹œê°„ :  
#{t.year}ë…„#{t.month}ì›”#{t.day}ì¼#{t.hour}ì‹œ#{t.min}ë¶„#{t.sec}ì´ˆ”  
635 config.join  
636 end

and error code is,

his@info105:~$ sudo ruby conf\_mongrel1.9.rb  
\*\* [http://localhost:80/](http://localhost:80/)  
ì„œë²„ ì‹œìž‘ ì‹œê°„ : 2009ë…„3ì›”22ì¼13ì‹œ30ë¶„25ì´ˆ  
Sun Mar 22 13:30:31 +0900 2009: Read error: #\<TypeError:  
#StringIO:0xb72b8c18 is not a symbol\>  
(eval):53:in `const_get' (eval):53:in `method\_missing’  
/usr/local/lib/site\_ruby/1.8/mongrel/camping.rb:53:in `process' /usr/local/lib/site_ruby/1.8/mongrel/camping.rb:52:in `synchronize’  
/usr/local/lib/site\_ruby/1.8/mongrel/camping.rb:52:in `process' /usr/local/lib/site_ruby/1.8/mongrel.rb:159:in `process\_client’  
/usr/local/lib/site\_ruby/1.8/mongrel.rb:158:in `each' /usr/local/lib/site_ruby/1.8/mongrel.rb:158:in `process\_client’  
/usr/local/lib/site\_ruby/1.8/mongrel.rb:285:in `run' /usr/local/lib/site_ruby/1.8/mongrel.rb:285:in `initialize’  
/usr/local/lib/site\_ruby/1.8/mongrel.rb:285:in `new' /usr/local/lib/site_ruby/1.8/mongrel.rb:285:in `run’  
/usr/local/lib/site\_ruby/1.8/mongrel.rb:268:in `initialize' /usr/local/lib/site_ruby/1.8/mongrel.rb:268:in `new’  
/usr/local/lib/site\_ruby/1.8/mongrel.rb:268:in `run' /usr/local/lib/site_ruby/1.8/mongrel/configurator.rb:282:in `run’  
/usr/local/lib/site\_ruby/1.8/mongrel/configurator.rb:281:in `each' /usr/local/lib/site_ruby/1.8/mongrel/configurator.rb:281:in `run’  
conf\_mongrel1.9.rb:627:in `cloaker_' /usr/local/lib/site_ruby/1.8/mongrel/configurator.rb:149:in `call’  
/usr/local/lib/site\_ruby/1.8/mongrel/configurator.rb:149:in `listener' conf_mongrel1.9.rb:623:in `cloaker\_’  
/usr/local/lib/site\_ruby/1.8/mongrel/configurator.rb:50:in `call' /usr/local/lib/site_ruby/1.8/mongrel/configurator.rb:50:in `initialize’  
conf\_mongrel1.9.rb:622:in `new’  
conf\_mongrel1.9.rb:622

plz help…
