Project

General

Profile

Defect #1160

rake aborted! at "rake db:migrate_plugins RAILS_ENV=production" on ruby 1.8.7

Added by Ge To almost 7 years ago. Updated almost 7 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Assignee:
-
Target version:
Start date:
01/08/2013
Due date:
% Done:

100%

Estimated time:

Description

  • redmine-environment
    Redmine version                          2.2.0.stable
      Ruby version                             1.8.7 (x86_64-linux)
      Rails version                            3.2.9
      Environment                              production
      Database adapter                         MySQL
    Redmine plugins:
      no plugin installed
    
  • Used Download: redmine_hudson-2.1.0.zip
  • bundle check: Ok.
  • Log-Output:
    /opt/redmine-2.2.0# rake db:migrate_plugins RAILS_ENV=production
    rake aborted!
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:33: syntax error, unexpected ':', expecting ')'
    ...link_tag("hudson.css", plugin: "redmine_hudson", media: "scr...
                                  ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:33: syntax error, unexpected ',', expecting kEND
    ...ss", plugin: "redmine_hudson", media: "screen") + "\n" 
                                  ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:33: syntax error, unexpected ')', expecting kEND
    ...mine_hudson", media: "screen") + "\n" 
                                  ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:34: syntax error, unexpected ':', expecting ')'
    ...d_result_appender.js", plugin: "redmine_hudson") + "\n" 
                                  ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:34: syntax error, unexpected ')', expecting kEND
    ...js", plugin: "redmine_hudson") + "\n" 
                                  ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:70: syntax error, unexpected ':', expecting ')'
            job = HudsonJob.where(id: build.hudson_job_id).first()
                                     ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/lib/hudson_application_hooks.rb:70: syntax error, unexpected ')', expecting kEND
            job = HudsonJob.where(id: build.hudson_job_id).first()
                                                          ^
    /opt/redmine-2.2.0/plugins/redmine_hudson/init.rb:3
    /opt/redmine-2.2.0/lib/redmine/plugin.rb:130:in `load'
    /opt/redmine-2.2.0/lib/redmine/plugin.rb:121:in `each'
    /opt/redmine-2.2.0/lib/redmine/plugin.rb:121:in `load'
    /opt/redmine-2.2.0/config/initializers/30-redmine.rb:12
    /opt/redmine-2.2.0/config/environment.rb:14
    Tasks: TOP => db:migrate_plugins => redmine:plugins:migrate => environment
    (See full trace by running task with --trace)
    

History

#1

Updated by Toshiyuki Ando almost 7 years ago

I forgot test on ruby 1.8.6. sorry.
I fixed this problem and release new version in weekend.

#2

Updated by Toshiyuki Ando almost 7 years ago

  • Project changed from r-labs to Hudson
  • Status changed from 新規(New) to 担当(Assigned)
  • Target version set to 2.1.1
#3

Updated by Toshiyuki Ando almost 7 years ago

  • Status changed from 担当(Assigned) to 解決(Resolved)
#4

Updated by Toshiyuki Ando almost 7 years ago

  • % Done changed from 0 to 100
#5

Updated by Toshiyuki Ando almost 7 years ago

  • Subject changed from rake aborted! at "rake db:migrate_plugins RAILS_ENV=production" to rake aborted! at "rake db:migrate_plugins RAILS_ENV=production" on ruby 1.8.7
#6

Updated by Toshiyuki Ando almost 7 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

Also available in: Atom PDF