1
我想開始下列配置的管理平臺:無法啓動管理平臺
- 操作系統:Mac OS X Snow Leopard的所有更新。
- 紅寶石:1.8.7
- 的Rails:2.3.5
- 機架:1.0.1
用下面的命令:
svn checkout redmine.rubyforge.org/svn/tags/1.0.2 redmine
cd redmine
cp config/database.yml.example config/database.yml
vi config/database.yml
Changed production and development to SQLite
rake generate_session_store
RAILS_ENV=development rake db:migrate
RAILS_ENV=development rake redmine:load_default_data
ruby script/server -e development
服務器開始確定並顯示redmine的歡迎頁, http://0.0.0.0:3000, 但以admin/admin身份登錄並單擊「配置文件」鏈接後, 我有:
ArgumentError in My#account
Showing app/views/my/_sidebar.rhtml where line #4 raised:
wrong number of arguments (2 for 0)
Extracted source (around line #4):
1: <%=l(:label_my_account)%>
2:
3: <%=l(:field_login)%>: <%= @user.login %>
4: <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>
5:
6:
7: <%= l(:label_feeds_access_key) %>
Trace of template inclusion: app/views/my/account.rhtml
RAILS_ROOT: /Users/eye/rails/redmine
與trunk
和production
相同的錯誤。我無法理解ruby錯誤,因爲在代碼中它是一個2參數調用2個參數的方法,但錯誤指出該方法有0個參數。任何提示我做錯了什麼?
發佈關於redmine bugtracker的錯誤報告。 – shingara 2010-11-01 10:21:58
由於它是一個穩定的版本,不適合我,所以我有95%的機會做錯了錯誤:比如有錯誤的ruby/rails /無論版本/配置還是缺少一些魔術環境變量:)。所以我想在發佈bug報告之前在stackoverflow/google/forums上檢查一下。 – grigoryvp 2010-11-01 10:40:21