03-01-2009, 06:22 PM
Join Date: Oct 2008
|I'm willing to give it a shot, but I'm running into strange errors when trying to include the Rack:LSWS handler.
When trying to include it from IRB I get:
I just don't understand the error messages it's giving.
irb(main):001:0> require 'rubygems'
irb(main):002:0> require 'rack'
irb(main):003:0> require 'rack/handler/lsws'
: LS1wrong argument type LSAPI (expected File)LS
LSG from /opt/local/lib/ruby/1.8/irb/input-method.rb:97:in `gets'
LSA from /opt/local/lib/ruby/1.8/irb.rb:132:in `eval_input'
LSD from /opt/local/lib/ruby/1.8/irb.rb:263:in `signal_status'
LSA from /opt/local/lib/ruby/1.8/irb.rb:131:in `eval_input'
LSD from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:189:in `call'
LSI from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:189:in `buf_input'
LSD from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:104:in `getc'
LSD from /opt/local/lib/ruby/1.8/irb/slex.rb:206:in `match_io'
LS@ from /opt/local/lib/ruby/1.8/irb/slex.rb:76:in `match'
LSE from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:287:in `token'
LSC from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:263:in `lex'
LSX from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:234:in `each_top_level_statement'
LSD from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:230:in `loop'
LSX from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:230:in `each_top_level_statement'
LSE from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:229:in `catch'
LSX from /opt/local/lib/ruby/1.8/irb/ruby-lex.rb:229:in `each_top_level_statement'
LSA from /opt/local/lib/ruby/1.8/irb.rb:146:in `eval_input'
LS; from /opt/local/lib/ruby/1.8/irb.rb:70:in `start'
LS; from /opt/local/lib/ruby/1.8/irb.rb:69:in `catch'
LS; from /opt/local/lib/ruby/1.8/irb.rb:69:in `start'
LS$ from /opt/local/bin/irb:13