[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby Web apps on OSX (not rails

Areric

1/1/2008 1:36:00 PM

Hey all,

Was wondering if anyone has this set up and has managed to get web
application running through apache on OSX.

Currently I'm running OSX 10.5 and using the Mac version of XAMPP all
in one web server installation for running apache.

I can get rails apps working because they have their own web server
but not normal CGI ruby apps or ruby apps through something like
mod_ruby. I tried downloading and compiling mod_ruby but it fails in
the build.

Anyone have any suggestions?
2 Answers

Giles Bowkett

1/1/2008 7:52:00 PM

0

Apache and mod_ruby aren't popular options. Mongrel is far and away
your best bet. You can get good results writing Mongrel handlers in
Ruby if Rails isn't your cup of tea. Mongrel is pretty much *the* way
to serve Ruby over the Web. I don't recall quite why this is but
essentially with Mongrel you get mod_ruby for free.

http://www.slideshare.net/ezmobius/custom-mongrel-handlers-learning-how-to-wal...

On 1/1/08, Areric <josh.schramm@gmail.com> wrote:
> Hey all,
>
> Was wondering if anyone has this set up and has managed to get web
> application running through apache on OSX.
>
> Currently I'm running OSX 10.5 and using the Mac version of XAMPP all
> in one web server installation for running apache.
>
> I can get rails apps working because they have their own web server
> but not normal CGI ruby apps or ruby apps through something like
> mod_ruby. I tried downloading and compiling mod_ruby but it fails in
> the build.
>
> Anyone have any suggestions?
>
>


--
Giles Bowkett

Podcast: http://hollywoodgrit.bl...
Blog: http://gilesbowkett.bl...
Portfolio: http://www.gilesg...
Tumblelog: http://giles....

Areric

1/2/2008 3:17:00 AM

0

On Jan 1, 2:51 pm, Giles Bowkett <gil...@gmail.com> wrote:
> Apache and mod_ruby aren't popular options. Mongrel is far and away
> your best bet. You can get good results writing Mongrel handlers in
> Ruby if Rails isn't your cup of tea. Mongrel is pretty much *the* way
> to serve Ruby over the Web. I don't recall quite why this is but
> essentially with Mongrel you get mod_ruby for free.
>
> http://www.slideshare.net/ezmobius/custom-mongrel-handlers-......
>
> On 1/1/08, Areric <josh.schr...@gmail.com> wrote:
>
>
>
> > Hey all,
>
> > Was wondering if anyone has this set up and has managed to get web
> > application running through apache on OSX.
>
> > Currently I'm running OSX 10.5 and using the Mac version of XAMPP all
> > in one web server installation for running apache.
>
> > I can get rails apps working because they have their own web server
> > but not normal CGI ruby apps or ruby apps through something like
> > mod_ruby. I tried downloading and compiling mod_ruby but it fails in
> > the build.
>
> > Anyone have any suggestions?
>
> --
> Giles Bowkett
>
> Podcast:http://hollywoodgrit.bl...
> Blog:http://gilesbowkett.bl...
> Portfolio:http://www.gilesg...
> Tumblelog:http://giles....

hmm ok thanks ill give that a shot. I absolutley plan on looking into
rails soon enough i just wanted to learn the language behind the magic
so to speak before i move on to the rails framework.