ruby-china / homeland-docker

🚀 Deployment Homeland with Docker
MIT License
106 stars 86 forks source link

同样是使用最新版本的make install 命令出差 #43

Open examplecode opened 6 years ago

examplecode commented 6 years ago

Starting homeland_postgresql ... Starting homeland_postgresql ... done Starting homeland_elasticsearch ... done Starting homeland_postgresql ... Starting homeland_postgresql ... done Starting homeland_elasticsearch ... done rails aborted! PG::ConnectionBad: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:in initialize' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:innew' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:in connect' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:684:inconnect' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:215:in initialize' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:innew' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in postgresql_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:809:innew_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:853:in checkout_new_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:832:intry_to_checkout_new_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:793:in acquire_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:521:incheckout' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:380:in connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:1008:inretrieve_connection'

examplecode commented 6 years ago

亲测把版本切换到下面的分支可以正常安装部署

commit 5d9cdb300e99d0374611a370d93a85cbd5ced836
Author: Jason Lee <huacnlee@gmail.com>
Date:   Mon Apr 9 10:23:20 2018 +0800

    Ruby 2.5.1