similar to: mongrel experience....

Displaying 20 results from an estimated 2000 matches similar to: "mongrel experience...."

2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping 1.4.143 anyone using Apache/FastCGI in here? does not seems to be possible to use with Camping. anyone got better luck? this is my postamble if __FILE__ == $0 Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database => ''examples.db'' Blog::Models::Base.logger =
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel. I have not tried it, but Camping crash extracting the request parameters on both CGI and FastCGI. I''m looking at rails code for inspiration, but it''s a bit outside of my knowledge..... not sure what to do with a FCGI::Stream object ..... this is what rails do for CGI, I''m not sure if it works the same for
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code. actually, this is probably very wrong. the problem is probably something like PATH_INFO does not exist when using FastCGI. I have not done all my homework, but so far what I found is lighttpd has a special option "broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can extract PATH_INFO from it (default:
2006 Jul 18
4
intro
Hi !!! I''ve just seen this message on http://redhanded.hobix.com/inspect/theCampingServer.html I''d really like to see distributions offer a package which would allow simple setup of TheCampingServer, just as you see with PHP. If you''re interested in seeing this happen for the upcoming Camping 1.5 release, introduce yourself on the
2006 Jul 26
9
file upload
I''m looking for file upload documentation on the wiki, cant find anything. I only found the changeset that supports file upload. should the file be part of ''input'' ? please help. thanks -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has
2006 Aug 01
6
warning and errors
i got my app to run fine on one server, but I moved it to another and huge problem started.... I''ve been trying various things for 3 hours now, I can''t get it to work.... I am getting this error. Exception `TypeError'' at (eval):542 - superclass mismatch for class NotFound I am using the same camping.rb, apps starts in CGI but not in Apache/FastCGI. while it works fine
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb 23 sudo mv camping-unabridged.rb camping.rb when running into problems, the abridged version of camping is rather difficult to debug. so I''m moving to unabridged, but I''m getting this error. [Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2006 Jul 26
10
get/post bug
I''m not sure if its a bug in the blog example or in the framework but each time I hit edit, both get and post get called, no matter of the actual http method. anyone encounter that bug? -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that
2006 Jul 26
1
Seek Error ?
anyone ever got this error ? [Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] (eval):21:in `seek'', referer: http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true [Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] : , referer: http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true [Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] Illegal seek, referer:
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for mongrel should not have much problem integrating the two I think. Apache/CGI is different and still will not work. I fuck around for a full day at the end of the day, I found Iowa another web framework and I try using their code but using Iowa::Request.new.read_multipart was more confusing than anything, although it helped me
2006 Jul 24
0
problem running Blog using CSS
I am not using latest camping (sudo gem install camping --source code.whytheluckystiff.net) and I''m getting this error executing Blog.run (eval):14:in `initialize'': private method `sub'' called for nil:NilClass (NoMethodError) from (eval):44:in `run'' from /home/mathieu/mv/rf/public/blog.rb:303 -- gcc -O0 -DRUBY_EXPORT -rdynamic
2006 Jul 25
0
ran into a weird bug....
I''m modifying the Blog example, as it is, its nearly unmodified. If I access /blog.rb/add I am asked to login (of course), once logged in, If I access /blog.rb/add again, I get a 404 Not Found error from Apache, not from Camping saying...... Not Found The requested URL /rf.mathieu.mv.sha/blog.rb/ was not found on this server. the URL accessed is http://rf.mathieu.mv.sha/blog.rb/add
2006 Jul 18
3
+ camping 1.4.138
Just up: gem install camping --source code.whytheluckystiff.net The changes: * Both bin/camping and Camping::FastCGI.serve now act according to the Camping Server specification.[1] * Docs are complete. _why [1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2007 Jan 06
4
? camping apps in gems
So would you like this: $ wget http://rubyforge.org/gems/junebug-0.0.18.gem $ camping junebug-0.0.18.gem Or should it be: $ gem install junebug $ touch junebug.gemcamp $ camping junebug.gemcamp _why
2010 Apr 21
0
can't seem to install bleak house
hi, guys I looked at http://guides.rubyonrails.org/debugging_rails_applications.html and figured I give bleak house a try. I ran into a problem during installation of the gem. Here''s an extract: --------------------------------- Extract start ----------------------------------------------------------- Makefile:671: warning: overriding commands for target `dist'' Makefile:671:
2006 May 18
0
+ Camping::FastCGI
Getting Camping to work with FastCGI is a little clunky, since FastCGI doesn''t really understand mounting apps and sometimes the environment vars are a little whack. To keep the postambles easy to read, I''ve moved the handy stuff into lib/camping/fastcgi.rb. == Mounting a Single App Assuming: Camping.goes :Blog ... this goes in your postamble ... require
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache, both running FastCGI. I''m going to explain the configuration, but first: update. gem install camping --source code.whytheluckstiff.net == Mounting Root for Lighttpd+FastCGI == server.port = 3045 server.bind = "192.168.0.103" server.modules = (
2007 Jan 22
4
Postamble vs campingrc
Hi, Should I be able to use the Webrick postamble instead of using .campingrc, to tell Camping I want to use mysql? It doesn''t seem to be working for me. It does work however, when I''m using FastCGI (establish_connection :adapter => ''mysql''). James
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on Textdrive to no avail. Right now I''m getting a 500 error when I go to the site, and it spits this out (from lightty after i restart it and make a request to the app): (eval):13:in `initialize'': undefined method `to_hash'' for #<FCGI::Stream:0x83a35d8> (NoMethodError) from
2011 Aug 20
4
trouble installing 1.9.2
hello, I am trying install Ruby 1.9.2 on my MacBook Pro Lion. I am following along with the install instructions at ruby.railstutorial.org. I am the point were you run rvm install 1.9.2. Below in what I see in the terminal when installing and below that my rvm log. Thanks for any help. rvm install 1.9.2 Installing Ruby from source to: /Users/user/.rvm/rubies/ruby-1.9.2-p290, this may take a