通過這樣做:「Heroku的DB:推」 給我: 「絲錐加載錯誤:沒有這樣的文件來加載 - sqlite3的......」
bundle exec heroku db:push
我得到這個:
! Taps Load Error: no such file to load -- sqlite3
! You may need to install or update the taps gem to use db commands.
! On most systems this will be:
!
! sudo gem install taps
這是我的database.yml文件:
development:
adapter: mysql2
encoding: utf8
database: g_dev
pool: 5
username: root
password:
我debedged在此期間 我需要將gem'sqlite3'放在gemfile中。 由於cli.rb的第10行的(抽頭-0.3.24): 需要「sqlite3的」 它在水龍頭的源代碼... :(我別無選擇 – Boti