Cannot start redmine :(


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
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.
Ruby: 1.8.7
Rails: 2.3.5
Rack: 1.0.1

Perform the following commands:

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


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):
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


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 :(.
by | 3 views

1 Answer

0 like 0 dislike
The case in i18n. Personally, I solved the problem that blew this gem. But, say, if you have apps in Rails 3, then there can be problems.
\r
Cast the bug in redmine. And try to specify a specific version in the settings redmayne..
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Mar 22, 2019 by qweewq
110,608 questions
257,186 answers
0 comments
25,173 users