我在本地mashine上使用Mysql。我嘗試推送數據庫時遇到問題。 我已經安裝了水龍頭。Heroku錯誤:沒有這樣的文件加載 - sqlite3/sqlite3_native
[email protected] /c/rails/konkurranceportalen (master)
$ heroku db:push
Taps Load Error: no such file to load -- sqlite3/sqlite3_native
You may need to install or update the taps gem to use db commands.
On most systems this will be:
sudo gem install taps
更新我現在得到以下錯誤:
Ruby.exe system error
The program could not be started because sqlite3.dll is missing on the computer.
我的數據庫陽明:
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
# gem 'mysql', '2.8.1'
development:
adapter: mysql
database: konkurranceportalen
encoding: utf8
pool: 5
username: root
password:
socket: C:/xampp/mysql/bin/mysqld.sock
host: 127.0.0.1
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: mysql
database: rails_t
encoding: utf8
pool: 5
username: root
password:
socket: C:/xampp/mysql/bin/mysqld.sock
host: 127.0.0.1
production:
adapter: mysql
database: rails_p
encoding: utf8
pool: 5
username: root
password:
socket: C:/xampp/mysql/bin/mysqld.sock
host: 127.0.0.1
我已經安裝了水龍頭 – 2011-03-18 16:54:58
你可以發表你的database.yml文件 – 2011-03-18 16:56:41
我已經發布我的數據庫陽明 – 2011-03-18 16:59:31