Good afternoon, colleagues.
I needed to put a development version of redmine, in order to see how it's functionality works. But since web development is not my profile, then as expected nothing happened :(. It seems to be doing everything on Feng Shui, in full accordance with the instructions on redmine.org on MacOS friendly — but not working. If anyone has any experience installing redmine — tell me what it could be.
OS: Mac OS X Snow Leopard with all updates.
Perform the following commands:
svn checkout redmine.rubyforge.org/svn/tags/1.0.2 redmine
cp config/database.yml.example config/database.yml
Changed production and development to SQLite
RAILS_ENV=development rake db:migrate
RAILS_ENV=development rake redmine:load_default_data
ruby script/server -e development
The server is started, the main page of Redmine is available at http://0.0.0.0:3000
After login admin/admin when you try to log in get profile:
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):
3: <%=l(:field_login)%>: <%= @user.login %>
4: <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>
7: <%= l(:label_feeds_access_key) %>
Trace of template inclusion: app/views/my/account.rhtml
The same in trunk and in production. Error I can not understand, the code is absolutely valid method call with two parameters with two arguments — the trace is written that the called method is not two parameters as zero. Either I don't know ruby's syntax, or reflection with the polymorphism have tried :(.