I think Godaddy is running ruby gems version 1.1.6 On Nov 29, 2007 3:27 PM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> > Elle, > On second look, it looks like you've uploaded your app directly to the > "rails" folder. Ideally they're setup is to create a "rails apps", > then all of your applications would be sub directories off of it. > > e.g. > /rails_apps/site1/ > /rails_apps/site2/ > > The instructions you've followed probably won't work without it being > in this format. > > > > On 11/29/07, Marlon Moyer <[EMAIL PROTECTED]> wrote: > > Elle, > > > > your actual url would be http://elitehousings.com/elle/ and when you > > navigate to that, you get a more descriptive error. GoDaddy is > > correct about missing the index.html file, but that's because they're > > looking at the root of your site and not the rails app. > > > > It does look like it's a permissions error on dispatch.fcgi though. > > > > > > > > On 11/29/07, elle <[EMAIL PROTECTED]> wrote: > > > > > > I know GoDaddy is far from being an ideal host for a rails application > > > but this is the one my client has and I don't really have a choice. I > > > tried to deploy the site yesterday and followed the instructions > > > available on: > > > http://www.ericdaugherty.com/blog/2007/07/rails-on-godaddy.html > > > http://lists.rubyonrails.org/pipermail/rails/2006-July/056959.html > > > http://wiki.rubyonrails.com/rails/pages/RailsWebHostsGoDaddyComments > > > > http://help.godaddy.com/article.php?article_id=1406&topic_id=&prog_id=GoDaddy&#location > > > > > > ... but the site doesn't work. > > > > > > 1. Java is not enabled. > > > 2. I have a "rails" directory inside my root "/" directory and created > > > a symbolic link (elle -> rails) in the CGI Admin > > > 3. I froze gems before deployment > > > 4. I edited dispatch.* files to reference #!/usr/local/bin/ruby > > > 5. I uploaded files to "rails" directory > > > 6. I chmod dispatch.* files to 755 > > > 7. public/.htaccess file contains the following: > > > AddHandler fastcgi-script .fcgi > > > AddHandler cgi-script .cgi > > > Options +FollowSymLinks +ExecCGI > > > RewriteEngine On > > > RewriteBase /rails > > > RewriteRule ^$ index.html [QSA] > > > RewriteRule ^([^.]+)$ $1.html [QSA] > > > RewriteCond %{REQUEST_FILENAME} !-f > > > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > > > > > 8. config/environment.rb file contains the following: > > > ENV['RAILS_ENV'] ||= 'production' > > > RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION > > > ENV['GEM_HOME'] = '/usr/local/lib/ruby/gems-dev/1.8' > > > > > > 9. MySQL db is set up and database.yml was updated with the correct > > > details. > > > host: p50mysql59.secureserver.net > > > port: 3306 > > > > > > > > > And the site doesn't work. I get a 403 Forbidden error. > > > And GoDaddy support team keeps emailing me, saying the root directory > > > is missing a default index file. > > > > > > I really don't have a choice with web hosting selection and I need > > > this site to run. It's not going to be a high traffic site. The url is > > > http://elitehousings.com/ > > > > > > Can anyone please please help? > > > > > > TIA, > > > Elle > > > > > > > > > > > > > > > > > > > > -- > > "Instead of building newer and larger weapons of mass destruction, I > > think mankind should try to get more use out of the ones we have.", > > Jack Handey > > > > > -- > "Instead of building newer and larger weapons of mass destruction, I > think mankind should try to get more use out of the ones we have.", > Jack Handey > > > > -- "Eppure si muove" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---