Starting a resque worker on an archlinux setup

Problem

You get an error saying something like “hostname” not known or

undefined method `chomp’ for nil:NilClass

when trying to start a resque worker.

Reason

Hostname utility moved from net-tools to inetutils.

Resque is actually trying to start the hostname utility.

File 'lib/resque/worker.rb', line 467
@hostname ||= `hostname`.chomp

Solution

Install inetutils :)

yaourt inetutils
  1. oembot posted this