Hi, was wondering if anyone has had any experience setting a site up on dreamhost.com Ive uploaded teh site, turned fastCGI on However having a few problems gettign the site to show, when i go to /public/ it shows the rails welcome page, should I be redirecting the sit url to this? thanks scott -- Posted via http://www.ruby-forum.com/.
> Message: 8 > Date: Thu, 20 Jul 2006 08:54:58 +0200 > From: scot <scot@streamd.net> > Subject: [Rails] setting site up on dreamhost > To: rails@lists.rubyonrails.org > Message-ID: <87a3a9119d70b4911341984e245f78ec@ruby-forum.com> > Content-Type: text/plain; charset=utf-8 > > Hi, > > was wondering if anyone has had any experience setting a site up on > dreamhost.com > > Ive uploaded teh site, turned fastCGI on > > However having a few problems gettign the site to show, when i go to > /public/ it shows the rails welcome page, should I be redirecting the > sit url to this? > > thanks > scottI ran into a bunch of issues getting typo up on bluehost. I have written down detailed instructions on how to get typo working on bluehost on my blog at http://blog.publishedperspectives.com, take a look, the steps should help as typo too is a rails app. Bharat
scot wrote:> Hi, > > was wondering if anyone has had any experience setting a site up on > dreamhost.com > > Ive uploaded teh site, turned fastCGI on > > However having a few problems gettign the site to show, when i go to > /public/ it shows the rails welcome page, should I be redirecting the > sit url to this? > > thanks > scottScott, I haven''t tried it yet, but here is a link to a step-by-step: http://www.railshosting.org/#free The actual tuturial is about 3/4 of the way down the page. I bookmarked it because I''m getting ready to set an app up on DreamHost and thought it might be useful. Let me know if it is or is not helpful to you. Regards, Michael mmodica at cox dot net -- Posted via http://www.ruby-forum.com/.
On 7/20/06, Michael <codeslush@yahoo.com> wrote:> > scot wrote: > > Hi, > > > > was wondering if anyone has had any experience setting a site up on > > dreamhost.com > > > > Ive uploaded teh site, turned fastCGI on > > > > However having a few problems gettign the site to show, when i go to > > /public/ it shows the rails welcome page, should I be redirecting the > > sit url to this? > > > > thanks > > scott > > Scott, > > I haven''t tried it yet, but here is a link to a step-by-step: > > http://www.railshosting.org/#free > > The actual tuturial is about 3/4 of the way down the page. I bookmarked > it because I''m getting ready to set an app up on DreamHost and thought > it might be useful. Let me know if it is or is not helpful to you. > > Regards, > > Michael > mmodica at cox dot net > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >I''ve not had anytrouble with dreamhost. I just set up a demo of my website http://usor.lerao.com. THe only problem is that ftp and sftp are a little slow but the svn system works well. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060720/ae62b1b8/attachment.html
Hi Scott, I have some sites on rails on dreamhost. also my clients sites are hosted there. I am not sure of your expertise level in Rails but some suggestions that I believe can help. a)change environment.rb to have environment as production b) change shebang lines on public/dispatch.fcgi to #!/usr/bin/env ruby c) make dispatch.fcgi as executable d) remove your index.html file(it does not run rails, it is served by your webserver) e) Have a default route for application home now try running your app, and check on your shell console if there is a instance of ruby or dispatch.fcgi you can do that with ps axww -o ''pid command'' if you dont find any there may be other issues you can go into debugging mode try to manually run the dispatch.fcgi by running on console "ruby dispatch.fcgi" see if there are are any errors or warnings, these errors are not generally not shown on production environement to browser, all you see is 500 Application Error troubleshooting 500 Application Error Check file permissions for dispatch.fcgi, dispatch.rb Ruby path used in dispatch.fcgi Testing db connectivity(script/console) Db migrations(please do it manually until you are comfortable) Troubleshooting File listing instead of running application Check web server config if domain/subdomain has been mapped to ?public? folder of the application, Check .htaccess file is present Troubleshooting Application freeze Try Killing/restarting FCGI processes Check if rails gem version mismatch, can happen if server rails version has changed, solution is freezing rails version and unpacking plugins .htaccess Web server restart some of the above info came from my presentation slides , which I used for giving a talk on "Rails Deployment" in Chennai.rb meet on 8th july 2006 Contact me for rails help, consultancy and hosting Senthil Nayagam +91 98406 31021 senthil @ senthilnayagam.com http://senthilnayagam.com -- Posted via http://www.ruby-forum.com/.