similar to: config.cache_classes value ignored in development mode under Apache 2

Displaying 20 results from an estimated 20000 matches similar to: "config.cache_classes value ignored in development mode under Apache 2"

2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to because of memory leaks in 0.13.1 under linux environment. Right now the application is running fast and steady under linux, with no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has become unusable under Windows (our main development environment) where I am getting a lot of segmentation faults. BUT the problem
2012 Jun 27
0
config.cache_classes true or false in test environment?
Hello, since two days I have problem with a scenario that started to fails with the error that there is a missing link. I narrowed the problem to config/environments/test.rb and config.cache_classes and I change the value now the scenario is passing with config.cache_classes = true. Here is my full test.rb: RbpCm::Application.configure do config.action_mailer.default_url_options = { :host
2008 Sep 03
1
edge rails config.cache_classes = true breaks applications
when using current edge rails, i am getting trouble when using the production environment -- i tracked down the problem to the following line config.cache_classes = true if i disable the class caching, everything works just fine, when enabling the cache_classes, lots of errors get dropped -- see the output below: error #1:
2007 Oct 04
0
Weird active record problem - goes away with cache_classes change
I have three active record objects, User, Question and Answer - Questions belong to a user and has_many answers - Answer belongs to a user Now, when I start with an array of answers, I can do this successfully: for a in answers a.user.user_id end If I do this: for q in questions answers = q.answers for a in answers a.user.user_id end end It works the first time, but it fails the
2007 Jun 18
0
Problem with belongs_to associations validating associated class: bug in rails in development mode?
Hi all, I''m using rails version 1.2.3. I have the following association in my View class belongs_to :viewer, :class_name => ''User'', :foreign_key => :viewer_id And of course i have a User model class defined to. The problem was that when i tried to use this association it would only work once. At the second try, i would get the following strange error:
2012 Mar 20
0
Setting cache_classes to false results in blank pages
Have anyone else stumbled upon this weird behavior? Setting the config.cache_classes = false for development env causes rails to return responses with totally empty content, headers seem to work ok. It does not matter what the controller returns, even a simple :text => "OK" will result in empty page. I''m using rails 3.2.2 and ruby 1.9.3. It probably has something to do with
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have read forums, followed How-To''s all in vain. I am hoping someone can help me out. I am getting the Rails Welcome screen, but when trying to go to any other url, I get the 500.html message. Take a look for yourself at http://66.139.78.237 and click on "about your application''s environment".
2010 May 10
0
config.cache_classes = false is broken in 2.3.4 and 2.3.5
I have created a ticket with a simple description of how to reproduce. https://rails.lighthouseapp.com/projects/8994/tickets/4565 Jarl -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello. Since two days I am trying to set up two rails-apps on a vserver-host so that I can access from work ;-) I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI, Lighttpd, Apache, Alias, Vhosts,.... But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails 1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems 0.8.11, Apache 2.0.54, Lighttpd
2005 Sep 30
1
Apache SetEnv and fastcgi
Am I correct to assume that SetEnv does not work with mod_fastcgi on apache 1.3.x? I''m trying to setup two virtual hosts for the same application, one in development mode and the other in production. Any other tricks for setting RAILS_ENV from the webserver? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Apr 10
15
Apache/FastCGI still in development mode?
I''m running rails on RedHat ES3 managed by Plesk with Apache/FastCGI. I''ve followed the directions here: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnPlesk And got everything working, but my application refuses to run in Production mode. It runs in development mode despite the fact that I''ve set: FastCgiServer
2006 Aug 10
0
apache+ssl+cgi problem
I''m a newbie both with rails and configuring a server so I appreciate any help available. My rails app works until I add ssl - then the routing seems to break. In ssl_error_log I have: [Thu Aug 10 15:43:07 2006] [error] [client ###.##.##.## ] File does not exist: /var/www/html/myapp/public/login Notice the login request is not routed appropriately. The request does not even show up
2006 Oct 06
0
Setting up apache for rails
I am a newbie to ruby rails and apache so i hope this is not a stupid question but, have written an application which runs on webrick the webserver that comes pre-packaged with locamotive. I am now trying to get the application to run on my apache server but i am having a small problem! in my httpd.conf i have set the server to load fast cgi and where the applications virtual host is to be
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with fastcgi working on a vps machine: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel In the tutorial it said to add this to the httpd.conf file to get fastcgi working. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> However
2014 Jun 03
0
Starting Thinking Sphinx on Joyent SmartOS with svcadm
I followed this tutorial: http://www.neo.com/2013/10/09/unicorn-on-joyent-smartos and the RailsCast about configuring Nginx and Unicorn, and successfully set up my first non-Passenger/Apache Rails app last weekend. Buoyed by this success, I next set about trying to get ThinkingSphinx to restart when the server starts, and managed to get my server to run away with 115% server usage. (Oddly, while
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX. BY THE FOLLOWING WAYl: Install FastCGI 1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz 2. gunzip fcgi-2.4.0.tar.gz 3. tar -xvf fcgi-2.4.0.tar 4. cd fcgi-2.4.0 5. ./configure 6. make 7. make install 8. cd ../ Install mod_fcgid 1. cd ~ 2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz 3. gunzip
2009 Apr 23
1
Constants defined in initializer not found when running gems:install in test
Dear all, I am setting some constants in an initializer, which are used in validations in my models. When I run RAILS_ENV=test rake gems:install I get missing constant errors for these, but not when I run RAILS_ENV=development rake gems:install It only happens for the gems:install task in test. Everything else (e.g. rake test) works as expected. What could be the problem? Thanks for your
2008 Jul 20
1
Caching controller code in development
I am running Rails 2.1.0 on an XP box. In development I have config.cache_classes = false. But...when I mod my controller code it does not pick up the change. This happens in Webrick and Mongrel (1.1.5) Ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ... I have been porting my app from dev environment on Webrick to Apache with FastCGI. I have the app responding and pulling up the data, but it is ignoring the "images", "stylesheets", "javascripts" directories located in the public directory. I''m running Apache under Suse Linux 9.x. Here is the information that I have in my vhosts.conf file:
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears, Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a running FastCGI Rails 1.0 environment with : - Win XP "Professional" (just brand name) - Apache 2.0.55 (msi) - Ruby for Apache 1.3.1 - Database backend is now Oracle 8.1 Everything run fine with default environment, I''m confused for switching into ''production''. By default