|
#51
|
|||
|
|||
|
rails version updated
thanks Last edited by zzz; 03-23-2007 at 03:52 PM. |
|
#52
|
||||
|
||||
|
Some updates :
1. Anyone getting the ln permission denied error, please email support@hostgator.com with your server IP and account domain mentioning the ln error. 2. Please raise a support ticket if you see rails version below 1.2.x on your account. zzz , I have already upgraded rails for you on the azur server tonight.
__________________
Shashank Wagh Systems Administrator & Level III Support, Hostgator.com LLC. Hostgator in India. Its here. http://www.hostgator.in |
|
#53
|
|||
|
|||
|
Running RubyOnRails with CGI isn't quite good enough:
To quote Agile Web Development with Rails (the Ruby-Rails bible): "CGI is definitely not the place you want to be. [...] Thankfully, Apache is also capable of running FastCGI." Serious Rails apps require either:
inefficient with resources.) May I suggest implementing at least one of these? |
|
#54
|
|||
|
|||
|
I was just thinking to post about the same topic. Could you please get FCGI to work on HostGator anytime soon? Are you planning to do so, even in the long term?
Thanks! Filip Hracek, reklama.visible.cz |
|
#55
|
|||
|
|||
|
Quote:
|
|
#56
|
|||
|
|||
|
I found Instruction 1 a little terse. Here's how I did it on a Mac:
>>1. Login to your SSH using your own account. In the Finder, go to Applications, Utilities and double click on Terminal. In Terminal type the command: ssh -p 2222 myname@mydomain.com You need to specify port 2222 because it won't work with the default port, 22. I also found instruction 6 ("RewriteRule") wasn't needed. |
|
#57
|
|||
|
|||
|
Hello.
I`ve finally manage to get my aplication online but it seems that Rmagik (http://rmagick.rubyforge.org/) gem is not installed. |
|
#58
|
||||
|
||||
|
Quote:
__________________
best regards, George |
|
#59
|
|||
|
|||
|
I have my rails app running, however it seems nothing in my <rails_app>/public directory is available. The production log keeps giving me routing errors: it can't find the stylesheets/<stylesheet_name>.css.
As far as I know it isn't permissions. running locally everything renders nicely. I'm used to running with mongrel and apache's mod proxy so I'm at a loss using cgi. UPDATE: I solved it. Permissions issue. One more thing though, I would like to toss my hat in for the mongrel, fastcgi requests. CGI is too slow for Rails Apps. Thanks for all the great work. I've been very impressed. Thanks Drew -- bomhofintegrated.com Last edited by syncrou; 09-05-2007 at 08:17 PM. |
|
#60
|
|||
|
|||
|
Quote:
Seriously, thanks a million for doing this. When I saw how long it had taken for PHP5 to be implemented, I just assumed that I was a few years off from getting RoR. Glad to see I was way wrong. |
|
#61
|
|||
|
|||
|
I followed the steps mentioned earlier (or at least tried to), but couldn't figure out how to overwrite only the dispatch.* files using the Rails . command.
Regardless, i created a second application straight from scratch using the steps outlined above, and also performed all the necessary uploads of the files into the folders. A few things i didnt do, and this might be a problem. I didn't change any of the dispatch.* files, because they seemed the same as already in my local folder, and i thought id keep the defaults. I also wasnt able to perform a migration, because it said that my access to root@localhost was denied. My question is, I am running this rails app off of a MySql database which i have provided with a username and password in the database.yml file, however, im still getting the "Application failed to start properly"" message whenever i try to visit the page online. Is there any way i can fix this? Thanks DC |
|
#62
|
|||
|
|||
|
Is there any way to run RoR without having the jailed ssh?
I made the changes to .http access and I added the erb.cgi and I can add some simple <%=@var> substitutions. Nothing else seems to work. Im just looking at Ruby. http://www.fluidmovie.com/ruby.rhtml Cheers
|
|
#63
|
|||
|
|||
|
Is there any way to run RoR without having the jailed ssh?
I made the changes to .http access and I added the erb.cgi and I can add some simple <%=@var> substitutions. Nothing else seems to work. Im just looking at Ruby. http://www.fluidmovie.com/ruby.rhtml Cheers |
|
#64
|
|||
|
|||
|
Hi, does anyone has an easy tutorial on how to deploy a RoR app for production? By the way, we need FastCGI or Mongrel on shared servers almost all RoR apps are useless with CGI
|
|
#65
|
||||
|
||||
|
Quote:
http://forums.hostgator.com/showthre...hlight=fastcgi |
|
#66
|
|||
|
|||
|
Quote:
|
|
#67
|
||||
|
||||
|
In all fairness, it is not the job of the technical support team to provide programming support for rails or any other programming language. I would expect them to be able to check that there are no server misconfigurations but that would be all.
|
|
#68
|
|||
|
|||
|
Exactly GvilleRick... so if the demoapp is not even working I imagine is not my fault to keep getting 500 error messages with the rails applications, but if you don't have any idea about ruby and rails probably you wont know what the hell is misconfigured.
|
|
#69
|
||||
|
||||
|
500 errors usually generate an error log which would give a clue why? Might want to post your error here or to support for help?
__________________
best regards, George |
|
#70
|
|||
|
|||
|
I don't have any records on the log files
|
|
#71
|
|||
|
|||
|
tried this 6brand.com/application-error-rails-app-failed-to-start-properly didn't worked 6brand.com/application-error-rails-app-failed-to-start-properly
|
|
#72
|
|||
|
|||
|
check /public_html/error_log
|
|
#73
|
|||
|
|||
|
ok fixed the problem, in one app, please update rails gem to 1.2.5 thanks...
|
|
#74
|
|||
|
|||
|
I'm getting 404 Errors. I've tried the demo app, uploading a basic one table scaffolded app(excluding the public dir), and uploading my real app. None of the three have worked. I've followed the steps in this thread and am able to get to the public/index.html file in all attempts but can't get to any of the actual rails stuff to work (they work on my local machine).
EDIT: I haven't set up a domain name yet. I'm navigating via http://IP/~accountname <--- This is the cause. The way RoR is set up it doesn't work with straight ip. Mike Last edited by mikeF; 11-06-2007 at 07:53 AM. Reason: Solution |
|
#75
|
|||
|
|||
|
I follow the steps in http://forums.hostgator.com/showthre...ght=ruby+rails, and when step 5.
5. Before you test the Rails page, there is one more modification you need to make. Code: cpaneluser@server [~]# cd ../demoapp/public cpaneluser@server [~]# pico .htaccess Locate the line where it has the code like below : Code: RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Change that code to : Code: RewriteRule ^(.*)$ dispatch.cgi [QSA,L] I found the line RewriteRule ^(.*)$ dispatch.cgi [QSA,L] So I needn't do the change as step 5 says. But when I try to visit the site with http://www.bbcolors.com/demorails, it gives me 400 error. This thread is so old, may be something changed, could you provide me the recently guide of how to deploy ROR project on Hostgator. Many thanks. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -6. The time now is 10:29 PM.









