similar to: Apache/fastcgi setup can''t find custom config/*.yml file!

Displaying 20 results from an estimated 4000 matches similar to: "Apache/fastcgi setup can''t find custom config/*.yml file!"

2005 Aug 06
0
Re: Error when going to Fastcgi.
I fixed that missing comma, now I get this error: Processing Base#index (for 24.94.221.205 at Sat Aug 06 14:40:47 GMT 2005) Parameters: {} NoMethodError (undefined method `before_filter'' for #<Object: 0x80859b8>): /app/controllers/loginadmin_controller.rb:1 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require__''
2006 Apr 11
2
class level "static" code in controller object not working
All, I have the following code that I put in my controller which I am using to initialize some static data. Note that it is not contained with a method of any kind. puts "test" config = YAML.load_file("config/config.yml") if config.nil? Dir.mkdir(config[''html_upload_folder'']) unless File.exist?(config[''html_upload_folder'']) I
2006 Mar 02
1
web serveces problem
Hi, I''m trying to added layered web services to my application and from some reason it''s not working for me. i''m working with ruby 1.84, rails 1.0. here are my files: 1. app/apis/kate_api.rb: class KateAPI < ActionWebService::API::Base inflect_names false api_method :check_version, :expects => [:string], :returns => [:string] end 2.
2006 Jul 31
0
Issues with has_many, belongs_to and dependency settings
I have 2 models SmsAddress & OutboundSmsAtom SmsAddress { has_many :other_objects, :dependency => :nullify } OutboundSmsAtom { #note this object also "belongs_to" other objects if that matters belongs_to :this_object } Whenever I try to destroy an object of type ThisObject, which at the time has 0 "children" OtherObjects I get the following type of
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the errors. So from my AWDWR book, I added the following directly from the book into application.rb... def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render(:file => "#{RAILS_ROOT}/public/404.html",
2006 Apr 13
1
Setting CWD to be RAILS_ROOT for fastcgi/Apache
All, So I''ve discovered that when running on FastCGI with Apache and the working directory for the process is actually the "public" directory under RAILS_ROOT. Is there a way to force the current working directory to be RAILS_ROOT for the FastCGI procs so that file manipulation would then be done relative to RAILS_ROOT? Or should I just make sure that all of my paths are
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2 with fcgi. With any action I try, it throws an exception saying it can''t find the source file. For instance, requesting an action in my welcome_controller results in: MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb The log
2006 Aug 06
1
RJS error
http://pastie.caboo.se/7437 Page appears as: Todo List #testing * Heres another Edit Destroy * Testes Edit Destroy * One more Edit Destroy * Heres another Edit Destroy * And another Edit Destroy NameError in TodosController#create undefined local variable or method `page'' for #<TodosController:0x228bf4c> RAILS_ROOT:
2006 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All, I have all of the components that I need to install RoR under FCGI for Apache 1.3.34. I have: mod_fcgi 2.4.2 fcgi 2.4.0 (developer''s kit) ruby-fcgi-0.8.6 I am comfortable up to the point of installing mod_fcgi, however, I don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi. How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there are
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: ======================================================== RuntimeError unknown symbol "gdImageSquareToCircle" RAILS_ROOT: /home/virtual/site1/fst/var/www/html/imodesite/public/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly after a reboot: [13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt) /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each'' /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!''
2006 Jun 07
0
HELP pls - no contact app via browser - via console works!
hi again, having been working on a rails-app for quite a time without experiencing any trouble at all an INTERNAL SERVER ERROR 500 was presented on screen. After that each and every attempt to connect to my app via browser is commented like that : undefined method `link_to'' for #<#<Class:0x253345c>:0x25333a8> (''link_to'' is just an example for a method ...
2006 Jun 25
1
text_field_with_auto_complete nonsense (newbie question)
Hi everyone, I have been introduced to ruby on rails a couple of days ago and it really brings out the fun in programming for the Web. I''m trying to implement a text_field_with_auto_complete as described in script.aculo.us , as follows: controller: class SearchController < ApplicationController auto_complete_for :recipe, :name end search.rhtml: <html> <head><%=
2006 Aug 16
0
Rails with Apache and FastCGI under Windows and strange errors
Hi, I''m deploying a rails application under Windows (not my choice) using Apache 2.0.59 (I''m stuck with Apache 2.0 since the customer wants a single-signon solution)and FastCGI. The rails application talks with an MS SQL Server (again, not my choice) on a different machine. And now, enter stage left: Strange Errors. Infrequently I get "Rails Application Errors"
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and increased the timeout from 30seconds to 60seconds. I _think_ I did that properly because I now have to wait the full 60 seconds like clockwork until I get the "Rails application failed to start" when I browse to my URL. Before it was 30 seconds like clockwork. When I run "ruby dispatch.fcgi" I get the
2007 Mar 01
0
FastCGI and Apache. Anybody know what can cause this error?
Does anybody know what could possibly be causing my error? Somehow action_controller got into a state where it was retuning not found for about 4 out of every 5 requests, seemingly arbitrarily. Has anybody else ever experienced this? I''ve heard that apache and fastcgi is not the best solution, do you think this is fcgi''s fault? Could it be a bug in my ruby code? Could it be a
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code, it seems that it could be an easy fix, where it''s looking for a LockError, but I think it''s a LockException. I''m on 0.10.13 with a very large index (about a million docs) that''s staged on several servers, which are updated daily. (Using rails 1.1.6) Thanks for all the hard work.
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big help. I''m getting the following error for any request to one of my controllers, ''client'': ActionController::RoutingError (Recognition failed for "/client/new"): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Apr 19
1
Recognition failed for "/"
I am new to ROR and i have been following a few howto''s and just testing things. It works fine in webbrick yet if i try and access using lighttpd or if i run public/dispatch.fcgi from cmd line i get the error below Thanks Recognition failed for "/" /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Jun 05
1
file_column & RMagick
Hi, I have a site where I wish to upload a resize a picture, and store it in the file system. The best solution that I have found for this so far is using file_column. This was working great, for about an hour, but all of the sudden I began to get the following error (only when i attempt to resize). NameError (undefined method `assoc'' for class `Magick::ImageList''):