How Do I Create a RoR (Ruby on Rails) Application ?

To make your first RoR (Ruby on Rails) application in your Astutium Business, ECommerce or Developer hosting packages ...

  1. Login to your Control Panel at http://{domain}/cpanel
  2. Click on the icon for Ruby on Rails
  3. Select the option Load on boot to start the applcation
  4. Give your application a name in the App Name field
    We suggest you call your first application test
  5. The Application Path should be automagically completed for you as public_html/{application}
    e.g. public_html/test
  6. Select the option production as the Environment (default)
  7. Click on Create to build the Application and RoR Framework layout.

You should now test your Ruby on Rails Application has been deployed. In a browser go to http://{domain}/{application}/public/

This should show you the default Ruby index page with the Welcome Aboard message.
You have now setup the RoR Application framework for your new development on Astutium Developer Hosting

You can now start uploading your
.rb application class files to app/controllers/
.rhtml view files to app/views/{class}/

Modify your config/routes.rb
add a map.connect line to link the application url to your main class
etc.

You may need to modify the .htaccess file for the {application}/public directory...
check for RewriteRule ^(.*)$ dispatch.cgi [QSA,L]

You can check your Applications status in the control panel

  1. Login to your Control Panel at http://{domain}/cpanel
  2. Click on the icon for Ruby on Rails
  3. If it is Not Running, click on the Run Action to start an "Available Ruby on Rails Application"

    Note:
    The most common error is a "400" Error, indicating you have made a mistake following the instructions above - normally forgetting the trailing slash on the URL after public.

    For help and assistance with Ruby on Rail, please visit the official site at rubyonrails.org.
    Please remember that OthelloHosts.net will not teach you how to program in Ruby or Rails, and support will not be able to help you debug your applications - if you are an application developer you are expected to know how to do these things yourself.

  • 2 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

May I upgrade at a later time?

Yes, you can easily upgrade your account at anytime. Simply click "upgrade" in the Client Portal...

How soon can my account be setup ?

For shared hosting services, our system will automatically activate your account and send you...

Do your CPanel hosting accounts come with BoxTrapper ?

At present we do not offer a BoxTrapper based spam prevention solution. BoxTrapper is based...

How do I access the CPanel control panel ?

Your CPanel control panel is accessed by a web browser at http://{domain}/cpanel i.e. if your...

Setting up easy webmail (Horde) access on CPanel

Alternative ways of accessing webmail ... Our standard CPanel method of accessing the webmail...

Powered by WHMCompleteSolution