6

/Users/ct/.rvm/gems/ruby-2.1.1/gems/headless-1.0.2/lib/headless/cli_util.rb:9:in ensure_application_exists!': Xvfb not found on your system (Headless::Exception) from /Users/ct/.rvm/gems/ruby-2.1.1/gems/headless-1.0.2/lib/headless.rb:68:ininitialize' from c_1319.rb:9:in new' from c_1319.rb:9:in'

Jane Best
  • 61
  • 1
  • 2

1 Answers1

9

Installing xquartz fixed the problem with me.

abhishek77in
  • 1,848
  • 21
  • 41
  • 8
    You may also need to add `/usr/X11/bin` to your PATH. Run `which xvfb` to see where (if at all) it's installed. – TheLonelyGhost Mar 19 '15 at 16:38
  • 2
    I had an additional problem on macOS with `Display socket is taken but lock file is missing - check the Headless troubleshooting guide (Headless::Exception)`. I used [this GH comment](https://github.com/leonid-shevtsov/headless/issues/80#issuecomment-278182878) to fix. – gabe Aug 04 '17 at 03:49