bundle exec rake db:schema:load - 在codeship上失败

时间:2017-06-02 17:46:31

标签: ruby-on-rails ruby heroku continuous-integration codeship

我正在尝试将Codeship用于Rails应用程序但是当我推送到Github并且Codeship创建了构建时,我收到了这个我无法解决的错误:

MyFriendsScreen.navigationOptions={
tabBarLabel: 'My Friends',
tabBarIcon: ({tintColor, focused})=>(
   <Ionicons
      name={focused? 'ios-people' : 'ios-people-outline'}
      size={26}
      style={{color: tintColor}}
    />
  ), // Delete this comma 
};

来自失败版本的更多信息:

bundle exec rake db:schema:load
rake aborted!

PG::ConnectionBad: FATAL:  no pg_hba.conf entry for host "xxx", user "xxx", database "xxx", SSL off

这里的任何帮助都会非常感激。谢谢!

1 个答案:

答案 0 :(得分:0)

我将在这里回答我自己的问题。 Codeship的支持不是很有帮助,在我按照文档中的所有步骤后仍然没有工作。不知道为什么,但是杀死了项目并创建了一个具有完全相同的代码和完全相同的设置和测试步骤的新项目,这解决了问题¯_(ツ)_ /¯