Ruby Camping Gem?

software development

#1

Hi,

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?

Thanks,
Dan

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

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

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

Hello World

"
puts ""
puts “”

#2

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