Heroku db:push fails with segfault

前端 未结 2 869
温柔的废话
温柔的废话 2020-12-28 17:14

I am installing a new Heroku app for Rails 3.1, Ruby 1.9.2. The problem is in doing \'heroku db:push\' to populate the database (which has been duly schematized--the only pr

相关标签:
2条回答
  • 2020-12-28 17:27

    Your code is trying to run the 1.9.2 version of SQLite using Ruby 1.8.7.

    I would suggest switching to 1.9.2 before trying your push.

    rvm use 1.9.2-p290
    heroku db:push
    

    Ideally you want to be switching to 1.9.2 full stop.

    0 讨论(0)
  • 2020-12-28 17:45

    Had this problem as well, it was extremely annoying but eventually I got it to work. I had the toolbelt installed but it started working once I did this:

    gem install heroku
    sudo gem install taps
    

    Yes, the toolbelt is already installed but I think this really fixed it. Plenty of people are having this problem, you're not alone.

    Hope this helps (:

    0 讨论(0)
提交回复
热议问题