My rails application does not start, it displays a 404 error. The application log (public_html/user/log/production.log) contains:
"MissingSourceFile (no such file to load -- postgres)"
The error message in the log file contains:
MissingSourcefile (no such file to load)
I installed Ruby Gems via whm > apache update and Ruby Rails manually. What else am I to do to get this working? Postgres was compiled as well and has always been installed.
root@server [~]# which postgres
/usr/bin/postgres
root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
curl
domxml
eAccelerator
exif
ftp
gd
gettext
ionCube Loader
mbstring
mcrypt
mysql
openssl
overload
pcre
pdf
pgsql
posix
pspell
session
sockets
standard
swf
tokenizer
xml
xmlrpc
Zend Optimizer
zlib
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
Cpanel server / Centos 5 / PHP 5 The rubygems installer first displays an error message: "Warning ... broken gem detected.. reinstalling!"
The server itself gives a "Service Temporarily Unavailable" error ** Daemonized, any open files are closed. Look at log/mongrel.pid and log/mongrel.log for info. ** Starting Mongrel listening at 0.0.0.0:12001 ** Starting Rails with production environment... /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `initialize': FATAL: password authentication failed for user "user" (PGError) from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:713:in `connect' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:237:in `initialize' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `new' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `postgresql_connection' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection=' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:259:in `retrieve_connection' ... 26 levels... from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 from /usr/local/bin/mongrel_rails:19:in `load' from /usr/local/bin/mongrel_rails:19 .htaccess content:
I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:
[Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi" [Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
I was thinking about getting Ruby on Rails on one of my VPSs. But my host said that it might cause problems. I DO NOT WANT PROBLEMS. Ruby on rails really looks cool. I want to use it to run a CMS written in Ruby on Rails.
I installed RoR on my Mac OS X, but then I decided to use Locomotive and the RMagick bundle. I want to remove the copy I uninstalled, but how do you remove it on a mac?
I am currently a 1 and 1 customer, and unfortinately they do not support ROR . Anyways that put to one side can anyone recommend a free ROR hosting company, or a company that will charge around £20.00 to get my ROR website hosted?
Ruby on Rails is running quite slow. I've had my server administration company look at it after I looked at it myself. I'm running out of ideas and was planning on trying a last-ditch memory upgrade to see if it helps. I'm not so sure it will.
Everything is installed and the app. is working, it just takes ~5-7 seconds to load. There are no errors or anything. Has anyone had this problem or could anyone suggest something to try?
This is a cPanel server. I've monitored the loading and dispatch.cgi runs during the load and all like it should.
I'm trying to get Ruby on Rails to work on my cPanel 11 box. I followed the instruction on the cPanel website and it seems like Ruby on Rails is now properly installed. I created a RoR project via cPanel and added a rewrite rule.
Now when I visit the URL, I get the following error message in my browser:
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
I have sqlite3 installed as well as the sqlite3-ruby gem. I've been Googling for hours but I just can't find to seem the solution. The only thing I can find is that I have to install sqlite3-ruby gem, sqlite3 and sqlite3-dev but I already have them. I also found a permissions-fix which changes permissions on the gem to 644 but that didn't fix it either.
In the components part of Plesk 8.01 you can install a "ruby on rails support" component, does anyone know if this is actually Ruby? And how can I see if Ruby is actually running, through SSH?
if anyone has managed to get to get Ruby on Rails (RoR) running on a Plesk server WITHOUT using Mongrel or other such proxied servers? The problem I have is that it should work out of the box - Parallels (who created Plesk) state that Plesk 9 is RoR ready and just required FastCGI support to be enabled - however after reading lots of instructions and FAQ's I am no closer to getting it up and running.
I have uploaded typo files to /etc/rails_apps/typo and setup mysql database user password. When I visit the domain at [url]typo I get a 503 / Service Temporarily Unavailable error message.
I was a happy client of Ruby Ring tech, but few days ago my Shared server Cpenl got missing in action... It showed some issue on listens... i submit a ticket to Ruby Ring tech and they said they will fix it soon... but for about 3 days nothing happen... suddenly today my shared server is also gone missing... cant connect to any of my websites and page cannot be displayed on cpanel also.. I submitted tickets.. but still no answer, now about 12 + hours downtime....
I was a happy client of Ruby Ring tech, but few days ago my Shared server Cpenl got missing in action... It showed some issue on listens... i submit a ticket to Ruby Ring tech and they said they will fix it soon... but for about 3 days nothing happen... suddenly today my shared server is also gone missing... cant connect to any of my websites and page cannot be displayed on cpanel also.. I submitted tickets.. but still no answer, now about 5 -6 hours downtime....
I'm wonder whats happening.....? hope that they will fix the things soon.... plzz if any 1 of Ruby Ring tech see this reply to this thread.... i like to know whats going and how soon you can give the server back