search for: defunkt

Displaying 11 results from an estimated 11 matches for "defunkt".

Did you mean: defunct
2011 Aug 16
6
Unicorn logging in production env
Hi All, as I can see on https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53 the?Rack::CommonLogger used only in development env and in weird evn called "deployment". Any chance to add "production" to this case? Serg Podtynnyi
2012 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
...tart unicorn from the binstubs directory all the unicorn methods look for things in the following path, particularly in the configurator.rb module: /home/deployer/apps/sample_app I haven''t been able to fully understand how unicorn sets the working_directory from here: https://github.com/defunkt/unicorn/raw/master/lib/unicorn/configurator.rb But I wanted to check with the community if I am missing something evident due to the noob nature in me. TIA -- O: 2248-2483 C: 8723-2518
2011 Oct 08
5
How to automate the restarting of Unicorn?
Hi, I have a question about automating the restarting of Unicorn with the following steps, and much appreciate your help. Assumption: (i) "pid" is set to unicorn.pid in the config file; (ii) a Unicorn process is already running. (1) kill -USR2 `cat unicorn.pid` (via Capistrano deployment task for example) (2) Inside the "before_exec" hook in the config file, do: kill -QUIT
2012 May 22
3
[RESQUE]Question about queues
I run Resque with x ''general'' queues. With ''general'' I mean a queue that may run every type of Worker. Or in the Rake command: COUNT=x QUEUE=* rake resque:work When a worker runs a job of a specific class, it may not run another job of the same class simultaniously. This job has to wait until the previous job has finished before it may start. BTW The reason
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi, I have a Rails 3.2 app. There is a specific request that takes a long time to execute. The context is, the user uploads a pdf, and then we have some processing through carrierwave + rmagick that generate a jpeg from the first page of the document. Everything works in dev mode using both webrick and thin. The problem happens on the prod environment with Nginx + Passenger. The request takes a
2011 Aug 29
0
Why is #verify_active_connections! :nodoc: ?
...hat sometimes see very little usage. However, from my searching in this (and the Ruby on Rails: Talk) list(s), I''m also under the impression that someone using ActiveRecord without rails might have to call this manually. In my case, I''m setting up a resque (https://github.com/defunkt/resque) system and might have my worker(s) use ActiveRecord but _not_ the full rails environment. I might have a worker go long stretches without any action, giving me stale connections in my connection pool. To avoid any problems, I found a gem, resque-ensure-connected (https://github.com/wir...
2011 Mar 27
0
replacement for functionality from acts_as_textiled
Our app is on Rails 2.1.0 and has a couple of fields used for job descriptions. These fields use textile codes for bold, italic, underline, etc... From what I understand this is provided by RedCloth and acts_as_textiled. I have been investigating and find acts_as_textiled (https://github.com/defunkt/acts_as_textiled) is no longer maintained, and although forked into another gem (https:// github.com/dasil003/acts_as_sanitiled) the developer no longer sanctions the use of either. Here is a section of code for a textiled box on our site. <label>Post details</label> <div style=&qu...
2011 Oct 23
1
Problem using github gem on Windows 7
Hi all, I''m new to this and trying to set up my dev environment on a Window 7 x64 machine. I used the latest version of RailsInstaller to start with. I''m running into a problem using the github gem. When I try ''gh create-from-local'', I get: "You must ''gem install win32-open3'' to use the github command on Windows" However, when I
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation: /config/resque_schedule.yml add_jobs_to_queue: cron: "15 * * * *" class: FooJob description: "Find results from class Bar and put on queue" /app/jobs/foo_job.rb class FooJob @queue = :normal def self.perform Bar.add_jobs end end app/models/bar.rb class Bar def self.add_jobs
2010 Sep 15
19
Rails 3 with Mongrel possible?
After much fiddling and googling, it seems to me that Mongrel, even the 1.2.0pre2 release is not compatible with Rails 3 -- is that true? When I start up a new Rails 3 project (i.e. one fresh after a `rails new` command), mongrel appears to start (creates a pid file, and reports no errors on the CLI), but the app does not load in the browser and I find this in the mongrel.log
2012 Apr 10
2
how to use cronjob
hey everyone i want to send mails by scheduling the time dynamically.lets say in a single table i have all the employee logs who came at different timings.they are from different locations and departments. i want to send mails to different mails ids according to there location to there HR. can i do this with cron job. thanks in advance -- You received this message because you are subscribed to