Project

General

Profile

To do #801

Defect #797: ruby 1.8.7 based instead of 2.0.0

Remove ruby 2.0.0 new syntax to support ruby 1.8.7

Added by Emilio González Montaña almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Estimated time:
Blocked:
Milestones:
Sprint:

Description

Log del error:

/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/ rake redmine:plugins:migrate
rake aborted!
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:32: odd number list for Hash
                    {sprints: [:new, :create, :edit, :updat...
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:32: syntax error, unexpected ':', expecting '}'
                    {sprints: [:new, :create, :edit, :updat...
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:32: syntax error, unexpected '}', expecting kEND
...:edit_effort, :update_effort]},
                              ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:35: odd number list for Hash
                    {sprints: [:index, :show]}
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:35: syntax error, unexpected ':', expecting '}'
                    {sprints: [:index, :show]}
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:35: syntax error, unexpected '}', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:37: odd number list for Hash
                    {sprints: [:change_task_status, :new_pb...
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:37: syntax error, unexpected ':', expecting '}'
                    {sprints: [:change_task_status, :new_pb...
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:37: syntax error, unexpected ',', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:39: syntax error, unexpected '}', expecting kEND
                             :create_time_entry]},
                                                 ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:42: odd number list for Hash
                    {sprints: [:burndown_index, :burndown]}
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:42: syntax error, unexpected ':', expecting '}'
                    {sprints: [:burndown_index, :burndown]}
                             ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:42: syntax error, unexpected '}', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:44: odd number list for Hash
                    {product_backlog: [:index]}
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:44: syntax error, unexpected ':', expecting '}'
                    {product_backlog: [:index]}
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:44: syntax error, unexpected '}', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:46: odd number list for Hash
                    {product_backlog: [:sort, :new_pbi, :create_pbi]},
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:46: syntax error, unexpected ':', expecting '}'
                    {product_backlog: [:sort, :new_pbi, :create_pbi]},
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:46: syntax error, unexpected '}', expecting kEND
                    {product_backlog: [:sort, :new_pbi, :create_pbi]},
                                                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:49: odd number list for Hash
                    {product_backlog: [:burndown]}
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:49: syntax error, unexpected ':', expecting '}'
                    {product_backlog: [:burndown]}
                                     ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:49: syntax error, unexpected '}', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:52: odd number list for Hash
...ect_menu, :scrum, {controller: :sprints, action: :index},
                              ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:52: syntax error, unexpected ':', expecting '}'
...ect_menu, :scrum, {controller: :sprints, action: :index},
                              ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:55: syntax error, unexpected ':', expecting kEND
  settings          default: {create_journal_on_pbi_positi...
                            ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:55: odd number list for Hash
...ournal_on_pbi_position_change: false,
                              ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:55: Can't assign to false
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:56: syntax error, unexpected ':', expecting '='
                              doer_color: "post-it-color-5",
                                         ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:56: syntax error, unexpected ',', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:58: syntax error, unexpected ',', expecting kEND
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:59: Can't assign to nil
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:60: syntax error, unexpected ':', expecting '='
                              task_status_ids: [],
                                              ^
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/plugins/scrum/init.rb:64: syntax error, unexpected $end, expecting kEND
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/lib/redmine/plugin.rb:133:in `load'
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/lib/redmine/plugin.rb:124:in `each'
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/lib/redmine/plugin.rb:124:in `load'
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/config/initializers/30-redmine.rb:19
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:245:in `load'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/engine.rb:593
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/engine.rb:592:in `each'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/engine.rb:592
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/initializable.rb:30:in `instance_exec'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/initializable.rb:30:in `run'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/initializable.rb:55:in `run_initializers'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:in `each'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:in `run_initializers'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/application.rb:136:in `initialize!'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `send'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/emilio/Desarrollo/Redmine/redmine-2.5.0/config/environment.rb:14
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/application.rb:103:in `require_environment!'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/gems/railties-3.2.17/lib/rails/application.rb:305:in `initialize_tasks'
/Users/emilio/.rvm/gems/ruby-1.8.7-p374@redmine-2.5.0/bin/ruby_executable_hooks:15
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

#1

Updated by Emilio González Montaña almost 11 years ago

  • Description updated (diff)
#2

Updated by Emilio González Montaña almost 11 years ago

  • Status changed from New to Resolved
  • Assignee set to Emilio González Montaña
#4

Updated by Emilio González Montaña almost 11 years ago

  • Sprint changed from Sprint 5 to Sprint 6

Also available in: Atom PDF