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
install phusion passenger:
$ gem install passenger
Be sure to read what the passenger-install-apache2-module command output
telling you, in the end it will give you some lines you have to put in
apache configuration files, if you miss that, it won’t work. At all.
configure your vhosts.conf to define a hostname for your application,
point to your application’s public folder, etc.
WebRick is not for production environments at all, in fact, it’s not
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
points you in the right direction.