search for: railsconfigurator

Displaying 12 results from an estimated 12 matches for "railsconfigurator".

2006 Aug 05
6
Q about Mongrel::Configurator
Hi, what is the preferd way to configure/start mongrel? [ ] with Mongrel::Configurator => HttpServer [ ] @var = HttpServer.new(...) @var.run I ask because the only debug methode i have found was in Mongrel::Configurator ;-) @Zed: are you also subscribed on nitro list?! regards Alex
2006 Jun 29
2
Mongrel Console..
...ongrel here and am trying to get things going. Right now I can start mongrel up just fine and it seems to work great, but I''m trying to use the nifty console I heard about and can''t seem to get it going. `mongrel_rails console` Cannot run the console script: unititialized constant RailsConfigurator Any ideas? I just installed everything yesterday (6/28) with gems 0.9 and have rails 1.1.3 installed. I''m working off of Kubuntu 6 if that makes a difference. Thanks for the help! -Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/...
2006 Apr 04
1
Mongrel Web Server 0.3.12.1 -- Iron Mongrel
...publish the results of security threats, tests, and improvements as well as any advice for folks. This release also features a few little features here and there: * Initial support for a "config script". I''ll be documenting this more, but it basically lets you use the Mongrel::RailsConfigurator to augment your application''s config via a small script. Just pass "-S config/mongrel.rb" and put any Mongrel::RailsConfigurator statements that are reasonable. * Mongrel will report the correct REMOTE_ADDR variable, but it does a little trick where if there is an X-FORWARDED-FO...
2006 Apr 04
3
Mongrel Web Server 0.3.12.1 -- Iron Mongrel
...publish the results of security threats, tests, and improvements as well as any advice for folks. This release also features a few little features here and there: * Initial support for a "config script". I''ll be documenting this more, but it basically lets you use the Mongrel::RailsConfigurator to augment your application''s config via a small script. Just pass "-S config/mongrel.rb" and put any Mongrel::RailsConfigurator statements that are reasonable. * Mongrel will report the correct REMOTE_ADDR variable, but it does a little trick where if there is an X-FORWARDED-FO...
2006 Apr 01
0
0.3.12.1 Quick Bug Fix Pre-Release
...your own Configurator config and add any handlers or plugins you want. You basically just pass in the -S option and give it a .rb file to load. Mongrel will load this file after it''s done configuring the stuff it needs. This means you can use any of the function calls in Configurator or RailsConfigurator to augment the default Mongrel setup. This lets you register your own handlers, load different plugins, etc. * It populates the REMOTE_ADDR header now but more intelligently. If HTTP_X_FORWARDED_FOR is available, then it uses that, otherwise it gets the remote IP from the socket. This means that...
2006 Jul 06
0
Multiple sites per rails install.
...nment.rb file or a custom environment in the environments directory? I am not sure exactly when the environment files are executed? Are they only executed once in the "** Starting Rails with development environment ..." startup step of mongrel. 2) Can we somehow use Mongrel::Rails::RailsConfigurator::rails method and set the environment there based on the requested url? Somehow hook into mongrel using -S script or a plugin of some kind? 3) I sincerely hope someone has a better answer because the above sound to me like total hacks, and very unlikely to work. Thanks for any input in advan...
2006 Jun 13
1
mongrel_upload_progress & plugin question in general
Hello, So, I grabbed the mongrel_upload_progress code from subversion because I really need something similar for a project I am working on. Anyway, I installed the gem and can''t figure out a few things. 1) I''m not sure what Upload < GemPlugin::Plugin "/handlers" is for 2) How to call the Progress < GemPlugin::Plugin "/handlers" handler. While I
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
This is a super quick announcement for a new Mongrel plugin called mongrel_console. It was inspired by a request from Tobias L?tke who wanted to tail out logs while Mongrel was running. What mongrel_console does is combine the Rails script/console with Mongrel so that you can control a mongrel server while using script/console. Sounds weird but it''s quite awesome for development
2006 Apr 04
1
More newbie questions.. Calling out to CGI, Reusing Responses, Multi-thread..
What I''m building is essentially a filter. On certain URIs, Mongrel will handle the request completely. On other URIs, I''d like to pass that responsibility off to an external CGI process (be it Rails''s dispatch.cgi, or otherwise). How do I go about that? Second, I''m finding that in several of my handlers I''d like to reuse a response. However, I
2006 Mar 27
2
Mongrel Web Server 0.3.12 -- Pre-Release
...sendfile This will give you a sendfile send for all of your static files. Even though everyone was raving about sendfile speed being like setting a cat on fire, it''s actually only about 20% faster. Let me know what you find (and if it works). CHANGES * A more complete Configurator and RailsConfigurator. These make setting up Rails super easy but is mostly for framework implementers to use. Still, it''s wicked neat API. * The mongrel_rails script is implemented using the new Configurator scheme and works much better. * You can pass a config file to mongrel_rails start and it will load th...
2006 Mar 27
24
Mongrel Web Server 0.3.12 -- Pre-Release
...sendfile This will give you a sendfile send for all of your static files. Even though everyone was raving about sendfile speed being like setting a cat on fire, it''s actually only about 20% faster. Let me know what you find (and if it works). CHANGES * A more complete Configurator and RailsConfigurator. These make setting up Rails super easy but is mostly for framework implementers to use. Still, it''s wicked neat API. * The mongrel_rails script is implemented using the new Configurator scheme and works much better. * You can pass a config file to mongrel_rails start and it will load th...
2006 Jul 12
13
A rails app server, maybe?
...iple RoR apps may be copied/symlinked, providing hot [un]deployment of them within a single Mongrel instance. Additionally, it could provide a centralized interface to log4r (or something compatible) that would route log messages to a single location. I ran across this comment for Mongrel::Rails::RailsConfigurator::rails and got a little worried: # Because of how Rails is designed you can only have # one installed per Ruby interpreter (talk to them # about thread safety). Because of this the first # time you call this function it does all the config # needed to get your rails...