0
我對ruby和postgresql非常陌生。
當我嘗試運行錯誤:啓動POSTGRESQL服務器
ruby scrpit/server, rake db:migrate, rake db:seed
我得到這個。
Rails 2.3.11 application starting on http:/0.0.0.0:3000
warning: already initialized constant SESSION_SECRET
Faraday: you may want to install system_timer for reliable timeouts
/home/user/.rvm/gems/ruby-1.8.7-p371/gems/activerecord-.3.11/lib/active_record/connection_adapters/postgresql_adapter.rb:941:in `initialize': could not connect to server: Connection refused (PGError)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
我在Ubuntu 12.04,紅寶石1.8.7,軌-2.3,寶石1.5.3
感謝您的答覆。我嘗試了這兩個,但都沒有工作。這裏是錯誤消息。'http://pastebin.com/jwVB3NaS – user2295369 2013-04-27 21:32:20
- 錯誤:以下軟件包有未滿足的依賴關係: postgres-xc:取決於:postgres-xc-client但它不會被安裝 E:無法糾正問題,你已經打破了軟件包。 – user2295369 2013-04-29 09:45:46