我正在使用 Ruby 1.9.2、Rails 3.1、Rspec、Postgres 和 Spork,但我无法让它们很好地协同工作。
第一次运行规范(Spork 在后台运行)工作正常。但是,当我第二次运行规范时,它失败了:
Failure/Error: Unable to find matching line from backtrace
PGError:
no connection to the server
# /Users/tom/.rvm/gems/ruby-1.9.2-p180@grapi/gems/activerecord-3.1.0.rc4/lib/active_record/connection_adapters/postgresql_adapter.rb:272:in `exec'
etc....
任何提示表示赞赏!