When you type ruby script/server you are actually starting a
webserver.  The -p puts it on port 3000.  This is technically not
starting ruby.. Lighttpd is also a web server so if you are trying to
run both commands you are duplicating some effort.  What you want to
do is first check that lighttpd is running on your machine (no idea
what platform you are on)

If you need a sample lighttpd configuration, here's an old one that
might get you started:

http://www.urbanpuddle.com/edgy.lighttpd.conf. You'll want to
uncomment the ruby rails block and comment out the PHP stuff.  You set
the port by changing the value of server.port from 80 to something
else.

Once you have lighttpd setup, you should be able to reboot and have
everything work.  The full link to the tutorial is here:
http://www.urbanpuddle.com/articles/2006/12/07/install-ruby-rails-on-ubuntu-edgy-eft
 but is quite old.

Good luck,
Vince

On Thu, Jul 17, 2008 at 10:27 AM, Aadi Ebu
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have installed ruby and redmine on my server running lighthttpd. I
> wanted to run ruby on a different port (3000). The problem is I cant get
> it to auto-start, I have to manually type in: ruby server/script -e
> production -p 3000
> and after that I do not get the cursor back, I have to press Ctrl+C to
> shut down the server and come back to command line. I've also noticed
> that all the access entries are echoed on the CLI if I start it manually
> and leave it running. I've tried googling and ended up here. Hopefully
> someone will be able to point me in the right direction
>
> Thanks.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>



-- 
support independent business -- http://www.buyindie.net/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to