Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Help needed getting started with Mod_ruby
Patrick Li
8/18/2008 6:53:00 PM
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
--
Posted via
http://www.ruby-...
.
1 Answer
Joshua Ballanco
8/19/2008 1:22:00 AM
0
Patrick Li wrote:
> Hi,
> I just installed mod_ruby under Windows XP, and I need some help getting
> started with it.
mod_ruby doesn't seem to have been touched in over 2 years. If you want
Ruby in a website, your best bet is either Camping, Rails, or Merb/Rack
(in increasing order of complexity) with mod_rails, a.k.a. Phusion
Passenger (
http://mod...
).
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Help needed getting started with Mod_ruby
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password