Ruby Camping Gem?


Has anyone managed to get the ruby camping framework running on DreamHost?

I’ve checked that the camping gem (and all it’s dependencies) are installed correctly. I’m able to load the gem when I ssh in, but when I try to do the same in a cgi script (see below), I get an internal server error. If I change “require camping” to a different gem (for example gruff) than the cgi loads correctly.

Any suggestions? Am I missing something obvious?


==== script ====
#! /usr/bin/ruby

require 'rubygems’
require ‘camping’ # doesn’t work
require ‘gruff’ # does work

puts "Content-Type: text/html"
puts ""
puts ""
puts "

Hello World

puts ""
puts “”

Hey, can anyone help there? I’m thinking about Dreamhost account, but I want also use Camping! Well… uhm… I need :wink: