WebFaction Ruby on Rails

WebFaction is a shared hosting service

WebFaction is hosting for developers. With WebFaction, you get shell access to fast servers that are maintained for you. They're quick to support new technologies. WebFaction was one of the first hosting services to officially support tools like Ruby on Rails, Sinatra, and Django.

Along with full shell access, you'll find plenty of pre-installed tools like most versions of Ruby. You won't have to make a special home directory installation of Ruby if you're using a newer version. Common development tools like Git or Subversion are also already installed. MySQL or PostgreSQL databases can be setup using their one-click installer on their control panel.

Ruby on Rails and shared hosting

The software stack for Ruby on Rails is consistently changing. The best practice doesn't remain best for long because developers are always releasing more robust and reliable software. Not only is the bleeding edge always changing, but your ideal stack will depend on what type of application you're serving.

If you're on a shared hosting service, the current ideal way to deploy Ruby on Rails is with the Apache web server and Passenger. This is currently how WebFaction handles Ruby on Rails applications.

Running Ruby on Rails on WebFaction

WebFaction's base account includes 256MB of application memory. That's equivalent to a VPS with 512MB of memory, because shared resources don't count towards your usage. Shared resources includes the Apache web server, which is used by your Ruby on Rails application.

To run your Ruby on Rails website, go to WebFaction's control panel. Add a new application and select "Rails" for the application type. Your application directory will be located at ~/webapps/application_name/myapp. Simply replace the myapp directory with your application.

Most likely, you'll also need to setup a database for your application. This can also be done via WebFaction's control panel. Simply go to the Databases section and click "Add new database". Select MySQL or PostgresSQL and select your credentials. Remember these credentials because you'll need to set them in your config/database.yml file.

Looking for more hosts?

See Ruby on Rails Hosts for a full list of shared hosting services, VPS, and cloud solutions for hosting Ruby on Rails web applications.

WebFaction supports Ruby on Rails, Sinatra, and Git.

Check out WebFaction