0
你好朋友我是Rails.I新手,我在我的Ubuntu 10.10中安裝了rails。按我的項目需求我安裝 spree.Then我用命令在安裝spree時Ruby中出錯
rails new mystore
然後我創建的應用程序商店提出的申請,切換到的文件夾,直接繼續工作與命令 $ CD的MyStore該應用程序 後來我提出由命令
rake spree_sample:install
安裝spree_sample之後,我做了這個命令填充我的數據庫則顯示錯誤這樣
rake aborted!
syntax error on line 20, col -1: `test:
adapter: mysql2
encoding: utf8
reconnect: false
database: mystore_test
pool: 5
username: root
password:root
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: mystore_production
pool: 5
username: root
password:root
我使用的是this網站作爲參考。只要看看就可以了。我想在軌道上做紅寶石的大禮包。所以請幫助我。我是新手。
'rake spree_sample:install --trace'應該讓你知道錯誤發生的位置。 – Zabba 2011-03-21 00:25:32