Ruby 1.9.2, Rails 3.1, Rspec, Postgres 및 Spork를 사용하고 있습니다. 함께 재생할 수 없습니다."PGError : Spork에서 실행중인 사양에 대한 서버와의 연결이 없습니다"
처음으로 사양을 실행하면 (백그라운드에서 실행되는 Spork로 작동) 정상적으로 작동합니다. 그러나 두 번째 사양을 실행하면 다음과 같이 실패합니다.
Failure/Error: Unable to find matching line from backtrace
PGError:
no connection to the server
# /Users/tom/.rvm/gems/[email protected]/gems/activerecord-3.1.0.rc4/lib/active_record/connection_adapters/postgresql_adapter.rb:272:in `exec'
etc....
감사합니다. spork이 레일 구성에 대해 알 수 있도록
이 문제가 해결되었습니다! 대단히 감사합니다. –
이것은 나에게도 고쳐주었습니다. 덕분에 – tomblomfield
Worked가되었지만, FactoryGirl mod (아래)도해야했습니다. – Karl