We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
We've been notified about this issue and we'll take a look at it shortly.
結果原來是Ruby on Rails沒有辦法在沒配置Database Engine的情形下跑。
解決方法就是:安裝資料庫
MySQL:htp://www.mysql.org
SQLite:http://www.sqlite.org
使用Rails建立專案時預設是用SQLite3,如果你想用MySQL,建立專案時請加上-d mysql
C:\> rails project_name -d mysql
然後再到config/database.yml設定密碼即可。
當然你也可以用其他的資料庫:
- MySQL
- PostgreSQL
- SQLite
- IBM DB2
- Microsoft SQL Server
- Oracle
- Sybase
- Firebird