must I use Apache locally?

G

Geoff Cox

Hello,

I am considering trying out Ruby but have following question.

At the moment I have a web site which uses PHP and MySQL. The hosting
server is a Unix server and may well be running Apache but at the
moment I do not know for sure.

Do I have to develop code on my own PC using Apache?

Cheers

Geoff
 
E

Enrique Comba Riepenhausen

Hi Geoff,

when developing your Rails application you don't need any web server
(until it comes to the deployment on your hosting server ;) ).

Rails comes with an in-build web server (WEBrick) that you can start
with "script/server" from your Rails app root directory. But you'll
still need MySQL though ;)

Cheers and best regards,

Enrique Comba Riepenhausen
 
P

Phillip Gawlowski

Enrique said:
Hi Geoff,

when developing your Rails application you don't need any web server
(until it comes to the deployment on your hosting server ;) ).

Rails comes with an in-build web server (WEBrick) that you can start
with "script/server" from your Rails app root directory. But you'll
still need MySQL though ;)

Actually, *Ruby* comes with WEBrick.

To test deployment, you can use Apache (dunno how easy it is to set that
up with Windows OSes and mod_ruby, I had no luck, but didn't try very
hard), or a UNIX/Linux VM (there are free virtualization tools, like
VMware Server, Innotek's VirtuaBox, MS Virtual PC, the open source
version of Virtuozzo).

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/
http://clothred.rubyforge.org

Eek! That was supposed to be My Special Law, _MY_ special law, I tell
you!

T/
 
G

Geoff Cox

Hi Geoff,

when developing your Rails application you don't need any web server
(until it comes to the deployment on your hosting server ;) ).

Rails comes with an in-build web server (WEBrick) that you can start
with "script/server" from your Rails app root directory. But you'll
still need MySQL though ;)

Cheers and best regards,

Enrique Comba Riepenhausen

Thanks Enrique.

Cheers

Geoff
 
G

Geoff Cox

Actually, *Ruby* comes with WEBrick.

To test deployment, you can use Apache (dunno how easy it is to set that
up with Windows OSes and mod_ruby, I had no luck, but didn't try very
hard), or a UNIX/Linux VM (there are free virtualization tools, like
VMware Server, Innotek's VirtuaBox, MS Virtual PC, the open source
version of Virtuozzo).

Thanks for the info Phillip.

Cheers

Geoff
 
M

Max Muermann

Hi Geoff,

when developing your Rails application you don't need any web server
(until it comes to the deployment on your hosting server ;) ).

Rails comes with an in-build web server (WEBrick) that you can start
with "script/server" from your Rails app root directory. But you'll
still need MySQL though ;)

To get started, you might want to try an embedded SQLite3 database. No
need to run a db server.

--max
 
K

khaines

Hi Geoff,

when developing your Rails application you don't need any web server (until
it comes to the deployment on your hosting server ;) ).

I know it's not standard Rails procedure, but these days when I deploy
apps I sometimes don't deploy with any sort of a conventional web server
at all. I've found that I can serve static assets amply fast enough
without it (3500+ small files/second on a commodity 64 bit AMD Linux box),
and I like the simplicity of a system that doesn't incorporate a
traditional web server at all in the request handling chain.


Kirk Haines
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,241
Messages
2,571,223
Members
47,860
Latest member
LoganF4991

Latest Threads

Top