)-1]
d = r.length - (env[PATH_INFO]||'/').length
env[SCRIPT_NAME] = r[0...d]
env[PATH_INFO] = r[d..-1]
app.call(env)
end
Rack::Handler::CGI.run(fixed)
The
require 'admin'
app = Admin
can be replaced with any of the sample apps I've found with the same effect.
Help?
Thanks,
Garret Buell
What about using the github gem server?
http://github.com/blog/51-github-s-rubygem-server
That way the most current camping could be installed with a
gem install judofyr-camping
Instead of having to download and build it (marginally more difficult)
-Garret Buell
2009/3/29 Magnus Holm judo
:01 PM, Garret Buell terr...@gmail.com wrote:
I'm trying to use Camping from Magnus' repo (1.9.300) but running the
blog.rb example (or anything for that matter) gives me
Rack::Lint::LintError at /
Content-Length header was 0, but should be 548
Ruby C:/ruby-1.8.7/lib/ruby/gems/1.8/gems/rack
the changes myself? What's the story on this guys?
-Garret Buell
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
4 matches
Mail list logo