I think that I understand the RDoc as stating that I can execute the following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping Problem!
//
NoMethodError undefined method `has_key?' for nil:NilClass
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:176:in `serve'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:173:in `each'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping- 1.5/lib/camping/fastcgi.rb:173:in `serve'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:90:in `start'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:75:in `each'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:75:in `start'
- /home/styledbits/local/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/fastcgi.rb:172:in `serve'
- dispatch.fcgi :9
My dispatch.fcgi file follows:
#!/usr/bin/env ruby
current = File.dirname(__FILE__)
require 'rubygems'
require 'camping/fastcgi'
ENV['FORCE_ROOT'] = "1"
Camping::Models::Base.establish_connection :adapter => 'sqlite3', :database => File.expand_path(current + '/camping.db')
Camping::FastCGI.serve File.expand_path(current), Blog
***
Any ideas?
_______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

