G
G
grigoryvp2010-11-01 11:58:12
Ruby on Rails
grigoryvp, 2010-11-01 11:58:12

Can't start redmine :(

Good afternoon, colleagues.

I needed to install the development version of redmine in order to see how one functionality is arranged there. But since web development is not my profile, as expected, nothing happened :(. It seems that I do everything according to Feng Shui, in full accordance with the instructions on redmine.org, on friendly MacOS - but it doesn’t work. If anyone has experience install 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 I

execute the following commands: The server starts, the main page of Redmine is available on http: //0.0.0.0:3000 After admin/admin login, when trying to enter the profile, we get:

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
Меняю production и development на SQLite
rake generate_session_store
RAILS_ENV=development rake db:migrate
RAILS_ENV=development rake redmine:load_default_data
ruby script/server -e development



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 is true in trunk and in production. I can’t understand the error, according to the code there is an absolutely valid method call with two parameters with two arguments - in the trace it is written that the called method has not two parameters, but zero. Either I don't know the ruby ​​syntax at all, or reflection with polymorphism did their best :(.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mpetrunin, 2010-11-01
@grigoryvp

The point is i18n. Personally, I solved the problem myself by demolishing this gem. But let's say if you have applications on Rails 3, then there may be problems.
Submit the bug to redmine. And try to specify a specific version in the redmine settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question