did not find expected whitespace or line break

Added by neo moses over 5 years ago

Installation stops this step.

[root@AY1207240721215d98673 redmine-2.0.0]# RAILS_ENV=production rake db:migrate
rake aborted!
(<unknown>): did not find expected whitespace or line break while scanning a tag at line 10 column 13

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
[root@AY1207240721215d98673 redmine-2.0.0]# RAILS_ENV=production rake db:migrate --trace
  • Invoke db:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    (<unknown>): did not find expected whitespace or line break while scanning a tag at line 10 column 13
    /usr/local/lib/ruby/1.9.1/psych.rb:203:in `parse'
    /usr/local/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
    /usr/local/lib/ruby/1.9.1/psych.rb:151:in `parse'
    /usr/local/lib/ruby/1.9.1/psych.rb:127:in `load'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/application/configuration.rb:115:in `database_configuration'
    /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railtie.rb:75:in `block (2 levels) in <class:Railtie>'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:42:in `each'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
    /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/base.rb:721:in `<top (required)>'
    /data/www/redmine-2.0.0/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>'
    /data/www/redmine-2.0.0/config/initializers/00-core_plugins.rb:12:in `eval'
    /data/www/redmine-2.0.0/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
    /data/www/redmine-2.0.0/config/initializers/00-core_plugins.rb:2:in `each'
    /data/www/redmine-2.0.0/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `block in load'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:587:in `each'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:587:in `block in <class:Engine>'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
    /data/www/redmine-2.0.0/config/environment.rb:14:in `<top (required)>'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:103:in `require'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:103:in `require_environment!'
    /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:292:in `block (2 levels) in initialize_tasks'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:205:in `call'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:205:in `block in execute'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:200:in `each'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:200:in `execute'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:158:in `block in invoke_with_call_chain'
    /usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:176:in `block in invoke_prerequisites'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:174:in `each'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:174:in `invoke_prerequisites'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:157:in `block in invoke_with_call_chain'
    /usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'
    /usr/local/lib/ruby/1.9.1/rake/task.rb:144:in `invoke'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:116:in `invoke_task'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:94:in `each'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:94:in `block in top_level'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:88:in `top_level'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:66:in `block in run'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
    /usr/local/lib/ruby/1.9.1/rake/application.rb:63:in `run'
    /usr/local/bin/rake:32:in `<main>'
    Tasks: TOP => db:migrate => environment