Web development w/ ruby

I’ve come up against the lack of tutorials for such a thing as well.
But recently I’ve made good progress getting mod_ruby and eRuby
working together to produce a lightweight web environment much like
PHP (where I came to Ruby from).

How do you make progress if there is no documentation? What is the key
to your progress?

It was very hard to install eruby, I had to install erb, and then I did
the same for eruby. I was not able to install mod_ruby on my tiger the
first time. and I can’t install it this time either.
./configure.rb --with-apxs=/usr/sbin/apxs
works on tiger,
but the make gives an error.

Where is this documentation on ruby CGI modules and classes?

ruby CGI docs are in the rdocs.
Might be easiest for you to build apache from source. I’d do it in a
non-privileged user directory (./configure --prefix=/Users/you/some_dir)
while you’re figuring it out, and make sure you throw the switches to
give
you an so-enabled build with apxs.

On 15-jun-2006, at 17:38, Francis C. wrote:

I’ve been shipping and supporting commercial applications in
Ruby-without-Rails for three years now. There are tutorials out
there for
getting eruby and mod_ruby to work with Apache. Also, if you read the
documentation for Ruby CGI modules and classes, that’s a big head
start.
Performance can be a problem, but it’s vastly better than Rails at
any rate.
And some newer approaches are starting to emerge as well.

I am actually eager to see something emerge that will be the next
twist to Rails (adopting it’s developments
and findings but then with proper components, interresting sesson
persistence etc.)

I am sure it’s possible to get some mileage out of Rails components
by themselves as well.