P
Patrick Li
Hi,
I just installed mod_ruby under Windows XP, and I need some help getting
started with it.
I'm trying to run a simple script that goes like this:
<TEMP.RB>
require "TEMP2"
include TEMP2
myMethod
<TEMP2.RB>
module TEMP2
def myMethod
puts "it's working!"
end
end
But I can't seem to get the require working. It always gives me an
<undefined local variable or method 'myMethod'> error.
Does anyone have experience with mod_ruby in windows? I read somewhere
that I need to restart Apache. But that didn't seem to help.
Thanks very much
-Patrick
I just installed mod_ruby under Windows XP, and I need some help getting
started with it.
I'm trying to run a simple script that goes like this:
<TEMP.RB>
require "TEMP2"
include TEMP2
myMethod
<TEMP2.RB>
module TEMP2
def myMethod
puts "it's working!"
end
end
But I can't seem to get the require working. It always gives me an
<undefined local variable or method 'myMethod'> error.
Does anyone have experience with mod_ruby in windows? I read somewhere
that I need to restart Apache. But that didn't seem to help.
Thanks very much
-Patrick