Cheap Domains, $1 .COM Websites! - Free .COM (or $1.99) on Many Products!
 
Only Minimal Purchase Req'd on Many Free/$1.99 .COM Offers.    And Our Sale Domains are Often Under $2 or $3/year with No Further Purchase Req'd.
 
Plus, almost ALWAYS 15% OFF Everything Not Already Discounted.    15% OFF Most Renewals too!      New: Business-Growth Website-Builders and Hosting!
 

 *ICANN fee adds 18¢ many domains; tas applies some areas.  Our $1 Website Builder with Free .COM is based on 12 months at $1/mo.   Multipile or "Stacked" discounts in same purchase often disallowed (may require separate transactions).  Click for details.

 
Cheap Domains Cheap Domain Names

  
Use Promo HDX for at least
Cheap .com
that's not already On Sale!*
 

Cheap Domains     $1 Websites     Free USA-based Sales/Support:  (800) 655-5512
 

.COM $7.64 (Promo: HDX) |  .NET $10.19  |  .SITE $2.99  |  .ORG $9.99  |  .INFO $4.99  |  .UK $7.64  |  .EU $6.79

Cheap Domains include FREE:  100 Email Addresses & Account, Full DNS Control, Domain Forwarding, Masking, Registrant-Change/Transfer, Monitoring/Alerts, Locking, Expiration Protection, More!

Cheap Domains - Find Yours Now:    
 
Most prices shown
use Promo Code: HDX.  This search function, and most product pages, display higher prices at first, but don't worry,  Discounts appear in Shopping Cart when Promo Code Entered    details

Free .COM Domains!   ...with many products...  

 $1 Website Instantly     Business Website Builder

 Most cPanel & Plesk Hosting    Some WordPress Packages

$1.99 .COM Domains   ...on much else, often including:

Many Email, Calendar, Storage Plans Powerful SSL Certificates, more!

 
Terms & Conditions Here.  Add a .COM to Cart to verify price if product description not specific.

 

 

 
 

 Cheap Website       Cheap WordPress Hosting        Cheap Website Builder - Easy, Instant!    
Cheap Dedicated Servers       Cheap Virtual Private Servers      
Blogcast and Podcast 

 
Cheap Domains | Availability Check:
 
  

Frequently Asked Questions

Help Center Search

Ruby on Rails Troubleshooting

Print this Article
Last Updated: September 5, 2008 3:23 PM

There are a number of common issues that can occur when implementing Ruby on Rails. Below is a list of common problems people can encounter when initially creating Rails applications.

Contents
Location
Line endings
Error logs
Production log
Sample errors
Development mode
Performance
Rails version
Database connectivity
Language conflict
Symbolic links

Location
The first line of a Rails application CGI file must reference the correct Ruby location. An example is shown below, where "/usr/local/ruby/" is the directory in which Ruby resides:

#!/usr/bin/env ruby

If you are developing locally, be sure to change the Ruby directory reference in your CGI file(s) prior to uploading.

Line endings
Script files uploaded to your Linux shared hosting account require Unix line endings for the shell to correctly determine the interpreter. For more information, see Can I use DOS line endings with my Linux hosting account?.

Error logs
Enabling error logs can alert you to CGI-related errors that might otherwise be mistaken for Ruby errors. Such errors would occur prior to Rails being invoked. See the following articles for more information:
How do I enable CGI error collection?
How do I view my CGI error logs?

Production log
The production log can provide trouble shooting information. There is one production log file per Rails application. It is located in the "log" directory of your application.

Sample errors
The following is a typical error you might encounter:

ActionController::RoutingError (Recognition failed for
"/tags/lst/"):

/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/
lib/action_controller/routing.rb:469:in `recognition_failed'

/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/
lib/action_controller/routing.rb:459:in `recognize!'

/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.5/lib/ dispatcher.rb:38:in `dispatch'

/home/content/j/h/l/jhlinux/html/cloud/dispatch.cgi:10

What the error communicates is that Rails cannot find the "lst" dispatcher in the "cloud" rails application.

Development mode
Running your application in development mode will generate a large log file, but can be used sparingly to pinpoint problem areas. To change your environment, modify your environment.rb file so that the RAILS_ENV variable is set to the value "development." For more information, see How do I ensure production performance under Hosting Configuration 2.0?.

Performance
If your Rails application is running slow, you can enable FastCGI by making the following change in the .htaccess file of your Rails application "public" directory:

Change

RewriteRule ^(.*)$ dispatch.cgi [QSA,L]

to

RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

Rails version
Currently, Rails version 1.1.6 is supported. Compatibility errors may also result from having an incompatible version specified in your environment.rb file. This entry will resemble the following:

RAILS_GEM_VERSION = 'x.x.x'

Freezing Rails gems can ensure application compatibility, although the use of previous Rails versions may put your data at risk. For more information, see What does it mean to freeze Ruby Gems?.

Database connectivity
Your database.yml file should resemble the following:

production:
adapter: mysql
database: [your database name]
username: [your mysql login]
$1 .COM Domains - Cheap .COM Domain Name. [your mysql password]
host: [your mysql server name (not "localhost")]
port: 3306

Language conflict
If you have Java enabled for your hosting account, it will conflict with Rails.

Symbolic links
The symbolic link you created to your application's public directory is where your application resides. For example, http://www.coolexample.com/ruby_appliation/

To create a cleaner URL, utilize either non-primary domains or subdomains that point to this link. When doing so, set "RewriteBase /" in your application's public/.htaccess file. Creating either a non-primary or subdomain will not overwrite your existing content. For more information, see the following articles:
Adding a non-primary domain to your hosting account
Adding a subdomain to your hosting account

Cheap Domain Names

 


Free USA-Based Technical Support, in English, 24 hours a day, 365 days a year:     (800) 655-5512
 
Call us with any question.     Place Orders by Phone.    Our USA-based Help Desk speaks your language.
 

Call Center located in the Phoenix, Arizona, metropolitan area!   Technical Support also available in Spanish.     New to Us?  Get a free account in 60 seconds.

 

.
 Store Home
   |   My Cart   |   Login   |   FAQ   |   Help   |   Free Telephone Support   |    Products   |    WHOIS Lookup   |   Legal Agreements
 
 

The HostingDude is Crazy Cheap! -- Here's How:

*Compare our Prices Anywhere!  Free Domain Name with purchase of our $1/mo. Website Builder, any Linux or Windows Hosting Plan, Managed Wordpress Hosting, or Quick Shopping Cart products.  $1.99 Domains  require purchase of (almost any) non-domain product we sell, such as Email, Online Fax Number, Group Calendar, SSL Certificates, SEO Traffic Builder, etc. One 1-year Free or $1.99* domain per each new, qualifying non-domain product purchase.

YES, the .COM Domains Qualify!  Free  and $1.99 promotions are on our most popular Domain Names:  .COM, .NET, .ORG, .CO, and frequently on .IN   They're also included on all $1.99 promotions, plus a few extras are included, such as a free .BIZ, .INFO, .ME, .MOBI, .IN, and/or others.  Just add your qualifying purchase and your domain name to your cart, and the domain will price as free or $1.99.

**Free Domain Name Privacy!  Free Private Domain WHOIS Service applies when five or more domain names purchased, or, for fewer than five domains, you'll still get a special low rate of only $1.95 each for Domain Name Privacy.  Private Domain Name Registration available for most Domains.

Save on (almost) Everything!  Enter Promo Code HDX in your Shopping Cart for 15% Off almost anything we sell that's not already on sale.  Some domain pricing shown on the site is based on use of this Promo Code HDX, so be sure to enter it! 

Keep in Mind:  Since some items are on sale at deeper discounts than 15%, your cart may not allow you to mix discount types in the same transaction, but it will always allow you to do so when sale-price items and PromoCode-priced items are purchased separately.  As with everything in life, we might terminate or change these deals at any time, without notice, on all or some products.  But, hey, the HostingDude is crazy about giving you cheap domains!   (ICANN fee of 18 cents [$0.18] may apply on some domain names.)

 

cheap domain names 
 
ICANN fee of 18 cents [$0.18] may apply on some domain names.  Notice for .eu and some other registering inbound
domain transfers: WHOIS may show domain held under registry
Weiled Weast Domains and/or HostingDude.com.

Copyright © 2003 - 2019  HostingDude, Inc.  All Rights Reserved.  No reprint or re-use without written authorization. 



Cheap Domain Names Quick Links...
 
Cheap Domain Names  |  Cheap Website Hosting  |  Domain Name Registration  |  Cheap Hosting  |  Private Domain Name  |  Cheap Website  |  Transfer Domain Name  |  Cheap Web Site  |  Bulk Domain Transfer  |  Cheap Web Site Hosting  |  Spam-Free Email Accounts  |  Cheap Web Hosting  |  Create an Email Account  |  Cheap Website Account  |  Cheapest Website  |  Cheap Web Site  |  Register Domain Names  |  Cheap Web Sites  |  Build a Website  |  Cheap Websites  |  Register Domain Name  |  Cheapest Web Host  |  Create a Website  |  Cheap Website Hosting  |  Domain Name Forwarding  |  Cheap Websites  |  Online Store with Shopping Cart  |  Cheapest Host  |  Web Hosting  |  Cheap Host  |  Domain Name Masking   |  Lowest Price Hosting  |  fax thru email, fax by e-mail   |  Lowest Price Web Hosting  |  Cheap Web Design  |  Cheap Host  |  Free Web Design Tools  |  Lowest Price Website  |  Domain Name Locking  |  Cheapest Hosting  |  Increase Website Traffic  |  Cheapest Site  |  Free Domain Name Software    |  Cheapest Web  |  Send Bulk Email  |  Cheapest Web Host  |  Get a Copyright  |  Cheapest Web Hosting  |  Stop Complaint Sites  |  Cheapest Web Site  |  Block Internet Gripe Sites  |  Cheapest Web Site Hosting  |  Register Copyright  |  Cheapest Web Sites  |  Domain Backorder  |  Cheapest Website  |  Backorder Domain Name  |  Cheap Website Host  |  Get Expired Domain Name  |  Cheapest Website Hosting  |  Make a Website  |  Cheapest Websites  |  Free Domain Name  |  Lowest Price Website Hosting  |  Free Domain Name Software  |  Lowest Price Websites  |  Secure SSL Certificate  |  Lowest Cost Host  |  Send Bulk Email  |  Lowest Cost Hosting  |  PayPal Payments for Domain Names and Hosting  |  Lowest Cost Web Hosting  |  Build an Online Store with Shopping Cart  |  Lowest Cost Websites  |  Accept Credit Cards  |  Lowest Cost Web Sites  |  Shopping Cart Site   |  Help Center   |  Help   |  FAQ