{"issue":{"created_at":"2011-12-01T19:28:38Z","state":"open","updated_at":"2011-12-01T20:00:33Z","comments":2,"user":{"gravatar_id":"32d805939c30206bdf5b47fb96bfecc6","id":547981,"url":"https://api.github.com/users/hjhart","login":"hjhart","avatar_url":"https://secure.gravatar.com/avatar/32d805939c30206bdf5b47fb96bfecc6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"It seems that the process is not receiving some data while trying to process a file. The NilClass it's geting should be the result from some system output (line 19, image_magick_proccessor.rb). Am I missing some dependency?\r\n\r\n\tresult = `#{command.join(' ')}`\r\n\t\r\n\r\nPartial stack track below:\r\n\r\n    11:08:26 worker.1  | /Users/james/.rvm/gems/ruby-1.9.2-p290@global/bin/rake: No such file or directory - gs -dNODISPLAY -q -sFile=/Users/james/Sites/pdf_archive/tmp/cache/4ed7d09344c6c3b634000001/20111201-1108-46645-2810/Filename-trying-to-find.PDF /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/grim-0.3.0/lib/pdf_info.ps\r\n    11:08:26 worker.1  | Job 4ed7d09344c6c3b634000003:ProcessPdf:[BSON::ObjectId('4ed7d09344c6c3b634000001')] failed\r\n\t11:08:26 worker.1  | \r\n\t11:08:26 worker.1  | NoMethodError (undefined method `gsub' for nil:NilClass):\r\n\t11:08:26 worker.1  |   /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/grim-0.3.0/lib/grim/image_magick_processor.rb:19:in `count'\r\n\t11:08:26 worker.1  |   /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/grim-0.3.0/lib/grim/pdf.rb:30:in `count'\r\n\t11:08:26 worker.1  |   /Users/james/Sites/pdf_archive/lib/process_pdf.rb:6:in `perform'\r\n\t11:08:26 worker.1  |   /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/qu-0.1.3/lib/qu/payload.rb:23:in `perform'\r\n\t11:08:26 worker.1  |   /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/qu-0.1.3/lib/qu/worker.rb:49:in `work'\r\n\t11:08:26 worker.1  |   /Users/james/.rvm/gems/ruby-1.9.2-p290@pdf_archive/gems/qu-0.1.3/lib/qu/worker.rb:57:in `block in start'","assignee":null,"id":2418651,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1,"title":"NoMethodError (undefined method `gsub' for nil:NilClass","html_url":"https://github.com/jonmagic/pdf_archive/issues/1","closed_at":null,"url":"https://api.github.com/repos/jonmagic/pdf_archive/issues/1","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T20:00:33Z","updated_at":"2011-12-01T20:00:33Z","user":{"gravatar_id":"32d805939c30206bdf5b47fb96bfecc6","id":547981,"url":"https://api.github.com/users/hjhart","login":"hjhart","avatar_url":"https://secure.gravatar.com/avatar/32d805939c30206bdf5b47fb96bfecc6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Great. Thanks for the help, and cool project!","id":2979723,"url":"https://api.github.com/repos/jonmagic/pdf_archive/issues/comments/2979723"}}