ruby q
- Started
- Last post
- 8 Responses
- l_v
does ruby on rails runs on a special server...?
- ********0
chu chu OS only
- l_v0
Very funny!
- l_v0
ruby needs special stuff...
- tomkat0
--
What else do I need?
Rails works with a wealth of web servers and databases. For web server, we recommend Apache or lighttpd, running either FastCGI or SCGI, or Mongrel. For database, you can use MySQL, PostgreSQL, SQLite, Oracle, SQL Server, DB2, or Firebird. Just about any operating system will do, but we recommend a 'nix-based one for deployment.
If you need hosting, Joyent is the official Ruby on Rails host, offering fantastic plans with a knowledgeable staff. Whether you need shared or dedicated hosting, these guys are experts in Ruby on Rails. For alternatives, see the wiki for a full list of Rails web hosts.
--
i think apache with a ruby plug will do the job, but better click thru that site for better info ;)
- ********0
Think of it as software - if it's installed, you can use it. But no - it doesn't require a special server.
- myobie0
short answer:
if you go with a host that has rails and fastcgi, you just upload and it works (although some processes get stuck sometimes)
if they use mongrel, you gotta stop and start your app each time you update it...
the long answer:
rails is just a collection of ruby files to help you get started
there is no direct hook into apache for a site written in ruby (except fastcgi)
a site written in ruby runs in memory, so it has to be started like a regular app and it runs in the background listening for requests
you need mongrel and apache 2.2 to do it correctly
you start multiple versions of your app, each with it's own mongrel, then you tell apache to use all of them for the requests (but balance the connections)...
don't use a windows server for rails, you will hate it
it's not like php where you just upload and it refreshes
you gotta stop the app from running in the background and then start it back up...
(unless you are using fastcgi, which will cause you problems because the processes will get stuck and never die)
- joyride0
RoR available
I've got a client with them, uptime is great, support has been great, and prices are good.