Ruby On Rails In InterWorx

Requirements

Create a Ruby on Rails Application

  1. Click the Icon Hosting Features menu item if it is not already open.
  2. Click the Icon Ruby On Rails menu item if it is not already open.
  3. Click the Icon Applications menu item.
  4. Click the [ Create Rails Application ] link at the top of the page.
  5. Enter your application's name and environment.
  6. Click the button.

Upload An Existing Ruby on Rails Application

  1. Follow all steps above.
  2. FTP or SCP the application to /home/username/yourdomain.com/rails/application_name, overwriting all existing files
  3. Click the Icon Hosting Features menu item if it is not already open.
  4. Click the Icon Ruby On Rails menu item if it is not already open.
  5. Click the Icon Applications menu item.
  6. Find your application in the list and click on [ Initialize application and set environment ] .
  7. Enter all required data.
  8. Click the button.

Rake a Ruby on Rails Application

  1. Click the Icon Hosting Features menu item if it is not already open.
  2. Click the Icon Ruby On Rails menu item if it is not already open.
  3. Click the Icon Applications menu item.
  4. Find your application in the list and click on the [ Rake ] link and enter any required commands to build the application.
  5. Click the button.

Restart a Ruby on Rails Application

  1. Click the Icon Hosting Features menu item if it is not already open.
  2. Click the Icon Ruby On Rails menu item if it is not already open.
  3. Click the Icon Applications menu item.
  4. Find the application in the list and click on the [ Restart ] link.
  5. Click the button.

View Ruby on Rails Application Logs

  1. Click the Icon Hosting Features menu item if it is not already open.
  2. Click the Icon Ruby On Rails menu item if it is not already open.
  3. Click the Icon Applications menu item.
  4. Find the application in the list and click on the [ View Logs ] link, and select the log you wish to view.

Gems

Allowing SiteWorx users to install their own Gems can be enabled in the Settings page, under "User Installed Gems". If this option is not enabled then only users with shell access will be able to install Gems.

Install A Gem

  1. Click the Icon Hosting Features menu item if it is not already open.
  2. Click the Icon Ruby On Rails menu item if it is not already open.
  3. Click the Icon Gems menu item.
  4. Click the [ Install New Gem ] link at the top of the page.
  5. Select the name of the Gem and if you want the documentation installed as well.
  6. Click the button.