Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Soar with High Availability Web Hosting from $11.95/month Elastic Self-Healing Windows VPS from $54.95/month State Of The Art Infrastructure Powered By Hewlett Packard and Cisco R1 Soft CDP Backup Solution
  #1 (permalink)  
Old 04-02-2010, 11:26 AM
Junior Member
 
Join Date: Feb 2010
Posts: 2
Default Ruby on Rails Set Up

I have setup a Ruby on Rails site according to the documentation and I am able to access the public/index.html page. I have updated the config/routes.rb file to make

map.root :controller=>'home'

where I have the controller app/controllers/home_controller.rb

When I access the site root with my web browser (http://www.mywebsite.com) I am able to see /home/index fine. I am unable to access http://www.mywebsite.com/home/index directly. I get a 404 error.

Has anyone gotten a Ruby on Rails 2.3.4 site up and running?
Reply With Quote
  #2 (permalink)  
Old 04-02-2010, 12:56 PM
Aaron's Avatar
Hosting Slave
 
Join Date: Dec 2008
Location: Sydney
Posts: 625
Send a message via MSN to Aaron
Default

Hi David,

What type of account is this you are attempting to get RoR working on?
__________________
Aaron Weller
Powered by dare
Crucial Paradigm Staff
Reply With Quote
  #3 (permalink)  
Old 04-02-2010, 01:20 PM
Junior Member
 
Join Date: Feb 2010
Posts: 2
Default

I have a reseller hosting account.

Quote:
Originally Posted by Aaron View Post
Hi David,

What type of account is this you are attempting to get RoR working on?
Reply With Quote
  #4 (permalink)  
Old 04-02-2010, 09:26 PM
Junior Member
 
Join Date: Feb 2010
Posts: 3
Default

David, this is just a suggestion as we do not have more information on the issue.

Please try the following.
1. Access the URL it without skipping the trailing '/' URL: http://www.mywebsite.com/home/index/
2. Change map.root :controller=>'home' ---> map.root, :controller=>"home", :action=>"index"

If we could recreate the error at our end, we may be able to help you better. Hence, if the problem persists, please provide us the following details : what server, which control panel, the application path that you have set etc.


If you are using a cpanel control panel. You can refer the following links.

URL: Creating and Running a Ruby On Rails application in cPanel - Crucial Paradigm // Crucial Paradigm - Official Blog

URL: Deploying a Ruby on Rails Environment

Also, if possible please open a support ticket with a detailed description regarding the issue.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +11. The time now is 05:40 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2

Copyright 2003-2010 © Crucial Paradigm Pty Ltd, All Rights Reserved