How to configure ruby-on-rails with apache

Hello All,

i have strugled in connection between java(jdk1.6_17) and ruby on rails
under Webrick server… I am using IDE netbeans( version 7 ). dats why i
need configure with apache (wamp 2.0)…i saw some tutorials about
configuring…
(How to configure ruby on rails with Apache - Stack Overflow)
but it’s not working.I am not getting any errors… but my project is on
wrking on webserver…can anyone help me…

What environment are you coming from? Unix, Mac, Windows? Let’s assume
you’re using some Unix variant, as you should, and Apache2 is already
properly installed:

  1. install phusion passenger:
    $ gem install passenger

  2. install passenger-apache2-module:
    $ passenger-install-apache2-module

Be sure to read what the passenger-install-apache2-module command output
is
telling you, in the end it will give you some lines you have to put in
some
apache configuration files, if you miss that, it won’t work. At all.

  1. configure your vhosts.conf to define a hostname for your application,
    point to your application’s public folder, etc.
    VirtualHost Examples - Apache HTTP Server

  2. Profit.

WebRick is not for production environments at all, in fact, it’s not
really
good for development either, if you intend on doing some slightly more
complex stuff with your rails applications. Other than that, you didn’t
really give enough detail about your problem, so I hope this answer at
least
points you in the right direction.

regards,
Paulo Muggler