Installing a Ruby-on-Rails Application

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

Installing the application

There are a number of ways to install Ruby on Rails application. Here are some examples.

Via gem

If the application to deploy is available as a package, it can be installed with gem:

$ gem install radiant
$ radiant myapp

Via Git

If the code for your application is available on a Git (or Mercurial, SVN etc.) deposit:

$ git clone git://

New project

If you start a new application, you can use rails:

$ gem install rails
$ rails new myapp

Other methods

You can install your application in a number of other ways: rsync, FTP etc.

Installing dependencies

If your application has dependencies (via a Gemfile), you can install them with Bundler:

$ bundle install

Configuring the application

You will probably need to change the configuration of your application, e.g. by configuring a database.

Adding a Rack site

Add a Rack site in the Web > Sites section of the administration heading:

  • addresses: (for example)
  • type: Ruby Rack
  • application path: /myapp/
  • use Bundler: check the box if you use Bundler (if you have a Gemfile)
  • static paths: /static=static

If you want to deploy your site in a production environment you need to add environment variables, for example:


Do not copy the key above but generate your own using the rake secret command.