You are not logged in.

#1 2006-01-14 03:50:42

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Setting up ruby on rails

I am now getting into the stage where I want to start messing around with my new ruby skills with ruby on rails. I have ruby 1.8.4, and rubygems 8.11-1, and now I want to know how to set up lighttpd, fcgi, rails, fcgi-rails, and and postgresql, along with whatever else is needed (probably php and the php fcgi module, so I can have a front-end to the database). I tried the wiki, but it seems outdated. Due to that, I am not getting how to set up /etc/lighttpd/lighttpd.conf, so I simply uninstalled everything dotpac'd it, and got ready for a fresh start.

So can someone help me out?

2 things: 1, I swear this is my last topic for the day, and 2. I will eventually repay all the help that I have received in these last few weeks over all my problems big_smile

Offline

#2 2006-01-14 07:42:35

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Setting up ruby on rails

one thing at a time. first get lighttpd working for static pages..

Then work on getting php-fascgi working.

Then get postgres running..then make sure your php-fcgi can work with postgres..

then get rails setup (gem --install rails)
test run rails using the webrick interface. just run the webrick server scipt inside your rails created dir..
rails test
test/bin/... cant remember the filename/path offhand..

then.. get lighttpd working with rails (this one is pretty easy once you get everything else rolling)..

then.. post your steps on the wiki, so others can see what you did and follow along.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2006-01-14 12:47:03

jochen
Member
From: Germany
Registered: 2004-06-01
Posts: 102

Re: Setting up ruby on rails

I'd suggest scgi instead of fcgi. Its really easy. You'll also find some documentation how to setup scgi with lighttpd in the link above.

Offline

#4 2006-01-15 05:27:08

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: Setting up ruby on rails

but fcgi is supported by ruby on rails

Offline

Board footer

Powered by FluxBB