I work with Tim and these are some of the errors that I've been running into.
This is the config for the external app for the vhost that the context is hooked to:
This is the the contents of that file:
Command /opt/local/bin/ruby /opt/lsws/vhosts/rails/script/lsws.rb
When I request a page from the app I get the following error:
Also, I'm not sure if this is related but I get an error when trying to load up the lsapi gem in irb:
no such file to load -- /opt/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/lsws.rb (MissingSourceFile)
I've tried getting Rails 2.3 running with Rack on 3 different machine (CentOS, ArchLinux and Mac OSX), all with the same results.
irb(main):006:0> require 'lsapi'
: 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