我正在尝试在我的 Rails 应用程序中运行 RSpec 测试并不断收到以下错误:
:> rspec spec/controllers/api/v0/buying_strategies_controller_spec.rb
WARN: Unresolved specs during Gem::Specification.reset:
activemodel (< 6.0, >= 3.0, >= 4.2.0)
activesupport (>= 3.0, >= 4.2.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/christopherdanella/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/headless-2.3.1/lib/headless.rb:207:in `ensure_xvfb_launched': Display socket is taken but lock file is missing - check the Headless troubleshooting guide (Headless::Exception)
from /Users/christopherdanella/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/headless-2.3.1/lib/headless.rb:195:in `launch_xvfb'
此处的故障排除指南http://www.rubydoc.info/github/leonid-shevtsov/headless#Display_socket_is_taken_but_lock_file_is_missing只是说这是一种特殊情况并打开一个问题。有任何想法吗?