Project

General

Profile

Error on install

Added by Szabolcs Gyuris about 10 years ago

Hello!

I wonder if you could help me. I got a problem with https://redmine.ociotec.com/attachments/download/246/scrum%20v0.5.0.tar.gz :

Environment:
  Redmine version                          2.3.1.stable
  Ruby version                             1.8.7 (i486-linux)
  Rails version                            3.2.13
  Environment                              production
  Database adapter                         PostgreSQL
Redmine plugins:
  autowatch                                0.1.0
  redmine_ics_export                       2.0.0.dev
  redmine_my_page_queries                  2.0.9
  redmine_workload                         1.0.2
  timelog_timer                            2.0.0
# rake redmine:plugins:migrate RAILS_ENV="production" 
(in /var/www/redmine)
rake aborted!
/var/www/redmine/plugins/scrum/init.rb:32: odd number list for Hash
                    {sprints: [:new, :create, :edit, :updat...
                             ^
/var/www/redmine/plugins/scrum/init.rb:32: syntax error, unexpected ':', expecting '}'
                    {sprints: [:new, :create, :edit, :updat...
                             ^
/var/www/redmine/plugins/scrum/init.rb:32: syntax error, unexpected '}', expecting kEND
...:edit_effort, :update_effort]},
                              ^
/var/www/redmine/plugins/scrum/init.rb:35: odd number list for Hash
                    {sprints: [:index, :show]}
                             ^
/var/www/redmine/plugins/scrum/init.rb:35: syntax error, unexpected ':', expecting '}'
                    {sprints: [:index, :show]}
                             ^
/var/www/redmine/plugins/scrum/init.rb:35: syntax error, unexpected '}', expecting kEND
/var/www/redmine/plugins/scrum/init.rb:37: odd number list for Hash
                    {sprints: [:change_task_status, :new_pb...
                             ^
/var/www/redmine/plugins/scrum/init.rb:37: syntax error, unexpected ':', expecting '}'
                    {sprints: [:change_task_status, :new_pb...
                             ^
/var/www/redmine/plugins/scrum/init.rb:37: syntax error, unexpected ',', expecting kEND
/var/www/redmine/plugins/scrum/init.rb:39: syntax error, unexpected '}', expecting kEND
                             :create_time_entry]},
                                                 ^
/var/www/redmine/plugins/scrum/init.rb:42: odd number list for Hash
                    {sprints: [:burndown_index, :burndown]}
                             ^
/var/www/redmine/plugins/scrum/init.rb:42: syntax error, unexpected ':', expecting '}'
                    {sprints: [:burndown_index, :burndown]}
                             ^
/var/www/redmine/plugins/scrum/init.rb:42: syntax error, unexpected '}', expecting kEND
/var/www/redmine/plugins/scrum/init.rb:44: odd number list for Hash
                    {product_backlog: [:index]}
                                     ^
/var/www/redmine/plugins/scrum/init.rb:44: syntax error, unexpected ':', expecting '}'
                    {product_backlog: [:index]}
                                     ^
/var/www/redmine/plugins/scrum/init.rb:44: syntax error, unexpected '}', expecting kEND
/var/www/redmine/plugins/scrum/init.rb:46: odd number list for Hash
                    {product_backlog: [:sort, :new_pbi, :create_pbi]},
                                     ^
/var/www/redmine/plugins/scrum/init.rb:46: syntax error, unexpected ':', expecting '}'
                    {product_backlog: [:sort, :new_pbi, :create_pbi]},
...

Best regards,

Szabolcs Gyuris

Replies (9)

RE: Error on install - Added by Oleg Senchenko about 10 years ago

I've got the same error during installation

RE: Error on install - Added by Emilio González Montaña about 10 years ago

Hi,

It seems that you have a version of Ruby that doesn't support some new Ruby hashes syntax used by the plugin. I will check it this week end, just in case I could avoid the new syntax and make it compatible with Redmine Ruby version.

RE: Error on install - Added by Oleg Senchenko about 10 years ago

Emilio,

if it can help here is info on my redmine enviroment:

Environment:
Redmine version 2.5.0.stable
Ruby version 1.9.3-p0 (2011-10-30) [i686-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2

RE: Error on install - Added by Szabolcs Gyuris about 10 years ago

Thank you!

Emilio González Montaña escribió:

Hi,

It seems that you have a version of Ruby that doesn't support some new Ruby hashes syntax used by the plugin. I will check it this week end, just in case I could avoid the new syntax and make it compatible with Redmine Ruby version.

RE: Error on install - Added by Szabolcs Gyuris about 10 years ago

Can I download it from somewhere I would like to test it.

Tnx.

RE: Error on install - Added by Szabolcs Gyuris almost 10 years ago

Hi!

Something about v0.6? Thanks!

RE: Error on install - Added by Matthias Uschok almost 10 years ago

Hi,

I also ran into this problem. Could you provide a patch until 0.6.0 is released? That'd be awesome =)

RE: Error on install - Added by Emilio González Montaña over 9 years ago

Update to released v0.6.0 plugin.

    (1-9/9)