search for: gemplugin

Displaying 20 results from an estimated 85 matches for "gemplugin".

Did you mean: gem_plugin
2006 Aug 25
2
really a GemPlugin/mongrel_cluster question
...n the Mongrel prerelease (0.3.13.4 prerelease) and mongrel_cluster 0.2.1 on my shared host (which doesn''t want to install prerelease software for all to use). I can install the gems in my own directory, and run mongrel 0.3.13.4 with --prefix just fine. However, I think due to the GemPlugin structure, even my new mongrel_rails loads up mongrel_cluster 0.2.0, which doesn''t support -- prefix. If I try telling rubygems to ignore the other installed gems (in the main gem structure), it loses track of itself (gem environment fails, for example). Ideas? Thanks, Asa -----...
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 was trying to figure it out, I wrote my own test plugin to mess around with the general plugin system and what I think it is is that the handlers aren''t regi...
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
...pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via ruby install.rb), Mongrel .3.12.4 (via gems), Rake 0.7.1(via gems, GemPlugin (via gems), Rails (via gems -include-dependencies which installed dependencies but failed to install rails itself ) then, Rails (via gems w/out dependencies clause)to get rails. Using mongrel via simpletest.rb works just fine but when I attempt to run mongrel_rails, I get the following error: $ m...
2006 Oct 22
7
GzipFilter gemplugin now available
This GemPlugin will gzip your HTTP responses from mongrel if the client says that it supports it (eg, most modern browsers). I''ve tested it in IE6, Firefox 1.5 and Firefox 2.0RC3 Install: gem install gzip_filter --source http://edenli.com Configure (assuming rails): cd RAILS_ROOT echo ''uri...
2006 Mar 06
0
Mongrel 0.3.9 -- GemPlugin Based
Hello everyone, Mongrel now has plugins that are based entirely on RubyGems. This feature was so slick that I decided to bust it out into a separate project called GemPlugin (more on that later). What the new plugin system does is makes it so that people can distribute Mongrel plugins as just plain gems, and mongrel will load them on the fly if people install them. There''s no configuration necessary to get this working, and you can already write your own mon...
2006 Mar 29
0
mongrel gemplugin name error
Hi, Deploying in production on a server (debian sarge + ruby1.8.4) I got some problems: > mongrel_rails start -q /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.11/bin/mongrel_rails:6: uninitialized constant GemPlugin (NameError) from /usr/bin/mongrel_rails:18 gem_plugin is installed though. Mongrel 0.3.11. Rails 1.1. Any idea? -- Jean-Christophe Michel
2006 Mar 06
5
Mongrel 0.3.9 -- GemPlugin Based
Hello everyone, Mongrel now has plugins that are based entirely on RubyGems. This feature was so slick that I decided to bust it out into a separate project called GemPlugin (more on that later). What the new plugin system does is makes it so that people can distribute Mongrel plugins as just plain gems, and mongrel will load them on the fly if people install them. There''s no configuration necessary to get this working, and you can already write your own mon...
2006 Dec 25
4
Definitive guide for upload progress
...druby://0.0.0.0:2999''), :in_front => true - After each cap deployment I manually launch ruby www/current/lib/upload.rb (yes that sucks) require ''rubygems'' require ''fastthread'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE DRb.start_service ''druby://0.0.0.0:2999'', Mongrel::UploadProgress.new DRb.thread.join And all I get during upload ajax process are raised errors: "A NameError occurred in upload#progress: uninitial...
2007 Jul 24
4
GemPlugin or Mongrel::HttpHandler subclass
Hey all I am working with a technology standard (specific to the commercial print industry) by which each element within the workflow has bi- directional HTTP messaging. As each side needs a http server, I thought I could either: a) use a gem plugin to modify the behavior of mongrel b) subclass Mongrel::HttpHandler In short, its xml messaging between two points; each with a HTTP client
2006 Oct 19
2
Gem plugins on win32 mongrel_service
Hi, why are the gemplugins commented out in mongrel_service? What was the problem with them? I''m curiuos because I''ve used them without problems since the revision 338 (-win32 suffix patch, 31/08). However, my site is a small internal one, so it doesn''t mean any heavy testing. Jano
2007 Oct 27
8
mongrel 1.0.3
Hello! Run problems after upgrading to mongrel 1.0.3 from 1.0.1: # uname -sr FreeBSD 7.0-BETA1 # mongrel_rails start ** Starting Mongrel listening at :3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop. # telnet 127.0.0.1 3000 Trying 127.0.0.1... telnet: connect...
2007 Feb 07
2
mongrel_in_a_tunnel
Hi list: I started to make a quick GemPlugin command [ssl::start] that sets up an stunnel before calling the normal [start] command. so $ mongrel_rails ssl:start will do everything that start normally does and configure/setup an stunnel. The question... Obviously this plugin will require stunnel to be installed. What do you think...
2007 Mar 23
1
upload progress bar don''t work...please help
...I''m trying to install the upload_progress gem and i can''t see the upload progress status. My config is : apache2 with mod_proxy mongrel rails upload.rb : ############## require ''rubygems'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE DRb.start_service ''druby://0.0.0.0:2999'', Mongrel::UploadProgress.new DRb.thread.join mongrel_upload_progress.conf : ########## uri "/", :handler => plugin("/handlers/upload",...
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
...ver webrick'' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins Exiting /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/mongrel.rb:18: undefined method `options'' for []:Array (NoMethodError) from...
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
...tart ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Successfully installed actionmailer-1.2.5 Installing ri documentation for actionmailer-1.2.5... Installing RDoc documentation for actionmailer-1.2.5... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop. $ sudo gem uninstall actionmailer -i Successfully uninsta...
2007 Oct 29
9
Problems with mongrel on NetBSD
...ipt/server webrick'' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at :3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop. speedy# telnet -4 not.flame.org 3000 Trying 68.97.48.147.....
2006 May 26
3
Packaging with mongrel
...ates the package, when we come to run the executable, the gem_plugin mechanism fails. Since our download does not rely on any plugins we added a couple of conditions in the mongrel_rails file to disable the plugin mechanism: if not defined?(RUBYSCRIPT2EXE) log "Loading any Rails specific GemPlugins" load_plugins end and if not defined?(RUBYSCRIPT2EXE) GemPlugin::Manager.instance.load "mongrel" => GemPlugin::INCLUDE, "rails" => GemPlugin::EXCLUDE end With these two changes, the packaged exe can now successfully run mongrel with our rails applicati...
2006 Oct 15
1
mongrel_send_file gem plugin
served piping hot fresh from my svn repo: http://svn.techno-weenie.net/projects/mongrel/mongrel_send_file/README == mongrel_send_file GemPlugin This is a simple plugin to handle the sending of secure files from a rails app. Here''s the typical process: - Rails app authorizes user to download file - Rails app sets file info in the session, redirects to custom URL like /file/UNIQUE_HASH/filename - Mongrel handler pulls the full fi...
2006 Jul 17
2
Port of --prefix to mongrel-service
This patch: - adds --prefix option to service::install in mongrel-service plugin - fixes bug with config values merging in the service - enables gemplugins in the service. Questions: - why the load_plugins command was commented out? It seems working for me. - why bin/mongrel_rails_service and bin/mongrel_rails_svc still in the main package? - a lot of code is duplicated in both versions (standalone mongrel and service) - a bit of refactoring could...
2006 Jun 29
7
Mongrel says it works, but it doesn''t
...aracter class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has`-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has `]'' without escape ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. INT => stop (no restart). ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop. and when I point my browwser to 0.0.0.0:3000 it had accatly the same problem as with webrick it looks like mongrel only prints these messaged and then... nothing. does anybody know what ca...