similar to: Lighttpd works fine in development. Production not happening

Displaying 20 results from an estimated 10000 matches similar to: "Lighttpd works fine in development. Production not happening"

2006 Jun 30
2
Rather ominous resource consumption figures
Hello, Yesterday I posted about how to email from a worker. I decided to be a bit piggy and just inhale all of rails. Sorted. I am noticing some rather ominous behavior though. The setup: My worker takes an uploaded image as a param and passes it (via system call) to a C++ image processing engine. Take a look at these memory consumption figures for successive runs uploading the identical image
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE 10.0 with SSL). (Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and the fcgi gem. I''m not positive all 3 were required, but that is what I did.) Now the devel instance of my app is broken. I''m not sure how to fix it. Previously I was using WEBrick for both devel and production.
2006 Jun 17
4
ruby script/console fails to launch
Can someone please explain why I am see the following: <snip> rails/uploadimage> ruby script/console Loading development environment. /usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules'' from
2006 May 25
3
No joy for newbie Capistrano user
Hello, I tried taking Capistrano out for a test drive and I can''t even get out of the garage. I am following the instructions here: http://manuals.rubyonrails.com/read/chapter/98#page262 As well as Duncan Davidson''s Deploying Rails with Lighty: Deploying Rails with LightTPDhttp://duncandavidson.com/essay/2005/12/railsonlighty Specifically, when I do: rake remote:exec
2006 Jun 16
7
How to pass params to long running system call
Hello, Can someone tell me the best way to make a system call (from within my model) that runs for a while and requires params form my model, specifically attributes of my model. So, I need the correct syntax and also general guidelines for launching the process. Thanks so much. Regards, Doug -- Posted via http://www.ruby-forum.com/.
2006 Jun 30
2
Need to send email from a worker
Hello, Can someone suggest the simplest way to send email from a worker? At completion, I need to send the results of it''s work to a recipient. Thanks, Doug Turner skype: dduuggllaa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060629/94d9fb64/attachment.html
2006 Jul 19
3
Rails & Mongrel & Lighttpd > NameError in Production
hallo there, i got a problem with switching from development- to production-mode in my rails project. in development everything is working fine, but in production i keep on getting a NameError... [quote] NameError in Appointments/admin/appointment categoryController#list uninitialized constant Appointments::Admin::AppointmentCategory
2006 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a ActiveRecord::ConnectionNotEstablished when I try to run it on lighttpd. Here''s the app''s lighttpd config: $HTTP["host"] =~ "(www\.)?mysite\.com" { server.document-root = "/home/pergesuteore/public/" server.error-handler-404 = "/dispatch.fcgi" fastcgi.server = ( ".fcgi" => (
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger. Here are the commands I''ve run: sudo port install fcgi sudo port install lighttpd Here''s a snippet from running "port installed" with several ports removed for brevity: fcgi @2.4.0_1 (active) lighttpd @1.4.9_0 (active) rb-rubygems @0.8.11_0 (active) readline @5.0.005_0+darwin_8
2006 Feb 19
2
Missing text/html content in production (but not development)
Hi, everyone. I''m getting a production server ready for a site I''m working on, and I''ve been a bit stumped by a difference between the development server (running under Webrick) and the production server (running under lighttpd). Here''s the scenario: I''m working on a variation of an e-commerce system. When someone finalizes an order with our
2006 Jun 02
3
One Lighttpd or many?
I''m trying to get Lighttpd started, and understand how it works (not quite there yet with Ror). Some questions: 1) Can I run Lighttpd as a main server instead of Apache2? 2) When hosting different RoR projetcs, will there be one server for each? Or is it one server running all? 2) Can it do everything Apache can? Like PHP, webdav, etc? -- Posted via http://www.ruby-forum.com/.
2006 Feb 01
2
Weird problem with script/server, lighttpd, and FreeBSD
I installed lighttpd from ports on my FreeBSD-5 system last night, wanting to play with that instead of WEBrick for development work. I installed it, and ran script/server, and got this: [minter@carlton discostu]$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to
2007 Nov 23
4
help! problem with mongrel, request.remote_ip and lighttpd
I have an existing rails application on lighttpd and I am trrying to upgrade to mongrel for the enhanced scalability it offers. I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5 Everything is working great except request.remote_ip returns 127.0.0.1 or 192.168.0.102 (the internal network address of the server running lighty). I''ve seen some older posts about
2008 Jul 01
4
why yum cannot find lighttpd?
Hi, I tried to install lighttpd in CentOS 5.2, but yum list lighttpd returned an error of "no matching packages to list". Should it be installed from source tarball? Thank you. Kind Regards, Jim
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
[ERR][17968] Handling client: can''t convert nil into String Hi, We decided to go with SCGI + Lighttpd for Rails at our company and had no problems with the initial setup. Everything ran fine and was fast. However, problems occurred when we tried to rebuild Lighty with SSL capabilities. With this build, even with SSL off in the config file the application fails on the first request.
2006 Mar 12
5
Webrick and Lighttpd
I just went thru the hivelogic article to get everything installed on my new mac. I then decided to run thru the ADC Rails article. In the article it says to run ''script/server'' which will start lighttpd if installed or webrick if not. When I do it, I get webrick not lighttpd. I followed the hivelogic article word for word and everything else seems to be working fine. Is
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2006 Feb 01
5
Starting lighttpd/Rails apps as user, not root
Hi everyone, When I want something to start at boot, I put it into /etc/rc*. The service will start as root, though. How do I make it start as a particular user? I''m worried about the machine going down and me not being around to pick my app back up when it does. I think this would also help my SwitchTower issue of having 8 fastcgi processes running for the app. 4 started by
2005 Dec 15
2
Questions regarding architecture of a server-based image-processor deployed in ROR
Hello, I''m planning to deploy a hybrid 2D/3D visual fx and image manipulation engine as a server accessible via the Web. So you can send Flickr images to it for all manner of image trickery. My engine uses a little text-based language I devised that is parsed and a resultant image produced. The UI for this service collects the input image and associated params and passes the collection
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe