Installation – RedHat Enterprise Linux 5, CentOS

1. Start with a clean slate Linux installation. Make sure that you don’t have anything Ruby-related installed on it. If you are using non-root account as admin, add this account to /etc/sudoers.

Do not call your admin account rails. RubyWorks uses that as a service account name, so you will be effectively giving root privileges to your web servers. That’s bad for security.

2. Point your package manager to RubyWorks yum repository.

Install RubyWorks.repo file, which is yum repository metadata:
wget http://rubyworks.rubyforge.org/RubyWorks.repo
sudo cp RubyWorks.repo /etc/yum.repos.d/

3. Install RubyWorks

sudo yum update
sudo yum install rubyworks

If all goes well, you now have a skeleton Rails application up and running at http://localhost:3001. There is also monitoring console running at http://localhost:2812. Congratulations!

Note that the monitoring console at this point will only be accessible from localhost. The next page tells you how to make it available on the network.

If something goes wrong, seek help at rubyworks-users maillist.

Theoretically, at this stage you can leave everything as it is, and it will work. However, especially if you are installing RubyWorks for the first time, you should go to the next page and work through the instructions there. You will set some passwords, learn what is where, and how to customize RubyWorks configuration to suite your taste.