I am having trouble installing plugins in Redmine 3.1.0-stable. I have placed the plugins in the plugin directory and restarted my server using:
bundle exec ruby bin/rails server -b 162.209.99.106 webrick -e production
I have also tried to use the command rake redmine:plugins:migrate which gives me this. I see that is says Access denied for user root#localhost but that doesn't make sense as that isn't what is configured in my config/databases.yml? Any advice?
rake aborted!
Mysql2::Error: Access denied for user 'root'#'localhost' (using password: NO)
/usr/local/rvm/gems/ruby-2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in `connect'
/usr/local/rvm/gems/ruby-2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in `initialize'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:436:in `new_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:446:in `checkout_new_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:565:in `retrieve_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:87:in `connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/model_schema.rb:230:in `table_exists?'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:97:in `get_primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:85:in `reset_primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:73:in `primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_record/mass_assignment_security/attribute_assignment.rb:15:in `attributes_protected_by_default'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:337:in `block in protected_attributes_configs'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:222:in `yield'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:222:in `protected_attributes'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:126:in `block in attr_protected'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:125:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:125:in `attr_protected'
/opt/redmine/redmine-3.0.1/app/models/custom_field.rb:32:in `<class:CustomField>'
/opt/redmine/redmine-3.0.1/app/models/custom_field.rb:18:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `block in load_file'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:647:in `new_constants_in'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:456:in `load_file'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:354:in `require_or_load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:83:in `field_attributes'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:86:in `<class:Base>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:48:in `<module:FieldFormat>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:19:in `<module:Redmine>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:18:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/opt/redmine/redmine-3.0.1/lib/redmine.rb:38:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/opt/redmine/redmine-3.0.1/config/initializers/30-redmine.rb:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
/opt/redmine/redmine-3.0.1/config/environment.rb:14:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
HERE IS THE COMMAND RUN WITH --TRACE flag ( Looks the same to me)
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql2::Error: Access denied for user 'root'#'localhost' (using password: NO)
/usr/local/rvm/gems/ruby-2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in `connect'
/usr/local/rvm/gems/ruby-2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in `initialize'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:436:in `new_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:446:in `checkout_new_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:565:in `retrieve_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:87:in `connection'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/model_schema.rb:230:in `table_exists?'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:97:in `get_primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:85:in `reset_primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/activerecord-4.2.0/lib/active_record/attribute_methods/primary_key.rb:73:in `primary_key'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_record/mass_assignment_security/attribute_assignment.rb:15:in `attributes_protected_by_default'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:337:in `block in protected_attributes_configs'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:222:in `yield'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:222:in `protected_attributes'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:126:in `block in attr_protected'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:125:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/protected_attributes-1.1.4/lib/active_model/mass_assignment_security.rb:125:in `attr_protected'
/opt/redmine/redmine-3.0.1/app/models/custom_field.rb:32:in `<class:CustomField>'
/opt/redmine/redmine-3.0.1/app/models/custom_field.rb:18:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in `block in load_file'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:647:in `new_constants_in'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:456:in `load_file'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:354:in `require_or_load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:494:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:526:in `load_missing_constant'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:184:in `const_missing'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:83:in `field_attributes'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:86:in `<class:Base>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:48:in `<module:FieldFormat>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:19:in `<module:Redmine>'
/opt/redmine/redmine-3.0.1/lib/redmine/field_format.rb:18:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/opt/redmine/redmine-3.0.1/lib/redmine.rb:38:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/opt/redmine/redmine-3.0.1/config/initializers/30-redmine.rb:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:411:in `call'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
/opt/redmine/redmine-3.0.1/config/environment.rb:14:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
/usr/local/rvm/gems/ruby-2.1.0/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `call'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:217:in `block in invoke_prerequisites'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:215:in `invoke_prerequisites'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:160:in `invoke_task'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:116:in `block in top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:125:in `run_with_threads'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:110:in `top_level'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:83:in `block in run'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:186:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/lib/rake/application.rb:80:in `run'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
HERE IS THE ERROR --------
# production: adapter: mysql2 database: redmine host: localhost username:
redmine password: "***********" encoding: utf8 development: adapter: mysql2
database: redmine_dev host: localhost username: redmine-dev password:
"***********" encoding: utf8
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production. test: adapter:
mysql2 database: redmine_test host: localhost username: redmine_test
password:
"************" encoding: utf8
# PostgreSQL configuration example
#production: # adapter: postgresql
# database: redmine
# host: localhost
# username: postgres
# password: "postgres"
# SQLite3 configuration example
#production:
# adapter: sqlite3
# database: db/redmine.sqlite3
# SQL Server configuration example #production:
# adapter: sqlserver
# database: redmine
# host: localhost
# username: jenkins
# password: jenkins
Related
I have a Rails 5 App (5.1.rc2) which is using mongoid instead of mysql. On my real production server (heroku), the app is running properly. But when I try to load it
env RAILS_ENV=production bundle exec derailed exec perf:allocated_objects
I get this output:
Booting: production
bundler: failed to load command: derailed (/Users/jan/.rbenv/versions/2.4.1/bin/derailed)
URI::InvalidURIError: the scheme mongodb does not accept registry part: <MYURL>
MY URL : mongodb://username.password#HOST1:PORT, HOST2:PORT, HOST3:PORT
What I am doing wrong?
EDIT
here is a more detailed stacktrace:
URI::InvalidURIError: the scheme mongodb does not accept registry part: username:password#cluster-shard-00-00-asdf.mongodb.net:27017,cluster-shard-00-01-asdf.mongodb.net:27017,cluster-shard-00-02-asdf.mongodb.net:27017 (or bad hostname?)
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/uri/generic.rb:206:in `initialize'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/uri/rfc2396_parser.rb:219:in `new'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/uri/rfc2396_parser.rb:219:in `parse'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:38:in `initialize'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:268:in `new'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:268:in `resolve_url_connection'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:256:in `resolve_hash_connection'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:231:in `resolve_connection'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:141:in `resolve'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:161:in `block in resolve_all'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:160:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_adapters/connection_specification.rb:160:in `resolve_all'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/connection_handling.rb:70:in `resolve'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/core.rb:46:in `configurations='
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/core.rb:48:in `block in <module:Core>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.0.rc2/lib/active_support/concern.rb:120:in `class_eval'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.0.rc2/lib/active_support/concern.rb:120:in `append_features'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/base.rb:291:in `include'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/base.rb:291:in `<class:Base>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/base.rb:275:in `<module:ActiveRecord>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.1.0.rc2/lib/active_record/base.rb:25:in `<top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter/active_record.rb:18:in `require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter/active_record.rb:18:in `orm_class'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter/base.rb:52:in `loadable?'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter.rb:17:in `block in load_available'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter.rb:15:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex/acts_as_url/adapter.rb:15:in `load_available'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/stringex-2.7.1/lib/stringex.rb:13:in `<top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mongoid-slug-5.3.3/lib/mongoid/slug.rb:2:in `require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mongoid-slug-5.3.3/lib/mongoid/slug.rb:2:in `<top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:105:in `require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:105:in `rescue in block in require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:82:in `block in require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:75:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler/runtime.rb:75:in `require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.14.6/lib/bundler.rb:107:in `require'
/Users/jan/RubymineProjects/gn2016/config/application.rb:26:in `<top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/derailed_benchmarks-1.3.2/lib/derailed_benchmarks/tasks.rb:19:in `require'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/derailed_benchmarks-1.3.2/lib/derailed_benchmarks/tasks.rb:19:in `block (2 levels) in <top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/derailed_benchmarks-1.3.2/lib/derailed_benchmarks/tasks.rb:60:in `block (2 levels) in <top (required)>'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/derailed_benchmarks-1.3.2/bin/derailed:41:in `exec'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
/Users/jan/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/derailed_benchmarks-1.3.2/bin/derailed:92:in `<top (required)>'
/Users/jan/.rbenv/versions/2.4.1/bin/derailed:22:in `load'
/Users/jan/.rbenv/versions/2.4.1/bin/derailed:22:in `<top (required)>'
My versions :
Redmine: 2.5.2
Ruby: 2.1.5p273
Rails: 4.2.5
My Environement variables :
APACHE_PID_FILE = /var/run/apache2/apache2.pid
APACHE_RUN_USER = www-data
APACHE_LOG_DIR = /var/log/apache2
PATH = /var/lib/gems/2.1.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD = /usr/share/redmine
APACHE_RUN_GROUP = www-data
LANG = C
SHLVL = 1
APACHE_LOCK_DIR = /var/lock/apache2
APACHE_RUN_DIR = /var/run/apache2
_ = /usr/sbin/apache2
PASSENGER_DEBUG_DIR = /tmp/passenger.spawn-debug.XXXXCWhgdC
USER = www-data
LOGNAME = www-data
SHELL = /usr/sbin/nologin
HOME = /var/www
IN_PASSENGER = 1
PYTHONUNBUFFERED = 1
NODE_PATH = /usr/share/passenger/node
RAILS_ENV = production
RACK_ENV = production
WSGI_ENV = production
NODE_ENV = production
PASSENGER_APP_ENV = production
SERVER_PROTOCOL = HTTP/1.1
SERVER_SOFTWARE = Apache/2.4.10 (Debian)
DOCUMENT_ROOT = /var/www/html/redmine
SERVER_ADMIN = [no address given]
QUERY_STRING =
SERVER_NAME = meetursam.fr
REMOTE_PORT = 41199
REMOTE_ADDR = 37.58.159.61
SERVER_PORT = 3000
REQUEST_METHOD = GET
SERVER_ADDR = 91.121.89.137
REQUEST_URI = /
GEM_PATH = /var/lib/gems/2.1.0:/var/www/.gem/ruby/2.1.0:/usr/share/rubygems-integration/2.1.0:/usr/share/rubygems-integration/2.1:/usr/share/rubygems-integration/all
GEM_HOME = /var/lib/gems/2.1.0
X_DEBIAN_SITEID = default
RAILS_ETC = /etc/redmine/default
BUNDLE_BIN_PATH = /usr/share/rubygems-integration/all/gems/bundler-1.7.4/bin/bundle
BUNDLE_GEMFILE = /usr/share/redmine/Gemfile
RUBYOPT = -rbundler/setup
RUBYLIB = /usr/lib/ruby/vendor_ruby
RAILS_LOG = /var/log/redmine/default
RAILS_VAR = /var/lib/redmine/default
RAILS_TMP = /var/cache/redmine/default
I have a problem when I use the rake command:
root#meetursam:/usr/share/redmine# rake --trace
Invoke default (first_time)
Invoke test (first_time)
Execute test
Invoke test:run (first_time)
Invoke test:units (first_time)
Invoke test:prepare (first_time)
Execute test:prepare
Execute test:units
rake aborted!
ActiveRecord::AdapterNotSpecified: 'test' database is not configured. Available: ["production"]
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/connection_adapters/connection_specification.rb:257:in `resolve_symbol_connection'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/connection_adapters/connection_specification.rb:224:in `resolve_connection'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/connection_adapters/connection_specification.rb:152:in `resolve'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/connection_adapters/connection_specification.rb:182:in `spec'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/connection_handling.rb:50:in `establish_connection'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/railtie.rb:127:in `block (2 levels) in <class:Railtie>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/lazy_load_hooks.rb:27:in `each'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
/var/lib/gems/2.1.0/gems/activerecord-4.1.14/lib/active_record/railtie.rb:116:in `block in <class:Railtie>'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:14:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/usr/share/redmine/test/test_helper.rb:20:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/usr/share/redmine/test/unit/activity_test.rb:18:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:114:in `block (3 levels) in define'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:114:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:114:in `block (2 levels) in define'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:113:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:113:in `block in define'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/sub_test_task.rb:20:in `invoke_rake_task'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/test_unit/testing.rake:8:in `block in <top (required)>'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => test:run => test:units
I do not have database.yml file, I tried to create it but the problem is the same.
I did that in config/database.yml
production:
adapter: postgresql
host: localhost
username: redmine
password: redmine
encoding: utf8
test:
adapter: postgresql
host: localhost
username: redmine
password: redmine
encoding: utf8
I don't have any log in /var/log/redmine/* (files are empty)
When I go on my webserver I get this error by passenger:
No such file to load -- agile_rank (LoadError)
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:348:in `require_or_load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:307:in `depend_on'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:225:in `require_dependency'
/usr/share/redmine/lib/plugins/redmine_agile/lib/redmine_agile/patches/issue_patch.rb:21:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/usr/share/redmine/lib/plugins/redmine_agile/lib/redmine_agile.rb:25:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'
/usr/share/redmine/lib/plugins/redmine_agile/init.rb:58:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:443:in `instance_exec'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:443:in `block in make_lambda'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:187:in `call'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:187:in `block in simple'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `call'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `block in call'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `each'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `call'
/var/lib/gems/2.1.0/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:86:in `run_callbacks'
/var/lib/gems/2.1.0/gems/actionpack-4.1.14/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
/var/lib/gems/2.1.0/gems/actionpack-4.1.14/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/application/finisher.rb:52:in `block in <module:Finisher>'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.14/lib/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
/var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
It looks like plugins compatibility issue. Try to move all plugins from redmine/plugins folder except redmine_agile and then add one by one to localize conflicted one.
how to generate devise member in rails 4.0.2:
anubhav#ubuntu:~/rail$ rails generate devise:model
/usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/connection_specification.rb:44:in `resolve_string_connection': development database is not configured (ActiveRecord::AdapterNotSpecified)
from /usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/connection_specification.rb:30:in `spec'
from /usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_handling.rb:39:in `establish_connection'
from /usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/railtie.rb:176:in `block (2 levels) in <class:Railtie>'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/base.rb:322:in `<module:ActiveRecord>'
from /usr/local/lib/ruby/gems/2.1.0/gems/activerecord-4.0.2/lib/active_record/base.rb:22:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.2.2/lib/devise/orm/active_record.rb:3:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /home/anubhav/rail/config/initializers/devise.rb:22:in `block in <top (required)>'
from /usr/local/lib/ruby/gems/2.1.0/gems/devise-3.2.2/lib/devise.rb:288:in `setup'
from /home/anubhav/rail/config/initializers/devise.rb:3:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `block in load'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:608:in `each'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:608:in `block in <class:Engine>'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /usr/local/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `each'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `tsort_each_child'
from /usr/local/lib/ruby/2.1.0/tsort.rb:411:in `call'
from /usr/local/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /usr/local/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /usr/local/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/application.rb:215:in `initialize!'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/anubhav/rail/config/environment.rb:5:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/application.rb:189:in `require_environment!'
from /usr/local/lib/ruby/gems/2.1.0/gems/railties-4.0.2/lib/rails/commands.rb:44:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
I think this line might be the clue
"development database is not configured"
Check the content of config/database.yml
and Gemfile to ensure you are using a database adapter that is installed. If you are using mysql for example ensure you have:
config/database.yml
development:
adapter: mysql2
encoding: utf8
database: yourDbName
username: yourSQLUser
password: passwordHere
host: 127.0.0.1
port: 3306
Gemfile
gem 'mysql2'
and mysql installed on the system also
If you were trying to run in production maybe you need to run
rake db:migrate RAILS_ENV=production
or postfix whatever command with RAILS_ENV=production
anubhav#ubuntu:~/rail$ rails generate devise MODEL , eg: rails generate devise User to generate a User model
for the question I'm new to Ruby.
I've tried the code below in my command line to connect my mysql database to my project and I haven't been able to have them connect yet. I've looked at the questions available, but none have really worked for my case.
rake aborted!
no implicit conversion of String into Hash
/Users/anirudhmaheshwari/Sites/simple_cms2/config/routes.rb:3:in `block in <top (required)>'
/Users/anirudhmaheshwari/Sites/simple_cms2/config/routes.rb:1:in `<top (required)>'
/Users/anirudhmaheshwari/Sites/simple_cms2/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:schema:dump => environment
(See full trace by running task with --trace)
Relevant portion of my database.yml file
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: simple_cms_development
pool: 5
username: simple_cms
password: [FILTERED]
socket: /tmp/mysql.sock
The full trace:
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:254:in `merge'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:254:in `root'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:1321:in `root'
/Users/anirudhmaheshwari/Sites/simple_cms2/config/routes.rb:3:in `block in <top (required)>'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:289:in `instance_exec'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:289:in `eval_block'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:267:in `draw'
/Users/anirudhmaheshwari/Sites/simple_cms2/config/routes.rb:1:in `<top (required)>'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:40:in `each'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:16:in `reload!'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/file_update_checker.rb:78:in `call'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/file_update_checker.rb:78:in `execute'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:27:in `updater'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application/finisher.rb:66:in `block in <module:Finisher>'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/anirudhmaheshwari/Sites/simple_cms2/config/environment.rb:5:in `<top (required)>'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:103:in `require'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:103:in `require_environment!'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/bin/rake:23:in `load'
/Users/anirudhmaheshwari/.rbenv/versions/2.0.0-p247/bin/rake:23:in `<main>'
Tasks: TOP => db:schema:dump => environment
Please Update your config/routes.rb file at line number 3
I have tried installing Redmine using MS Web Platform and from Helicon Zoo Web installer. I am using Windows 7 machine 64-bit and SQL server 2008. I have configured database.yml to connect to my SQL server DB and I m trying to migrate from SQLLite(default db) to SQLSERVER. Here is my configuration set up
production:
adapter: sqlserver
database: RedMineDB
host: XX.XX.XX.XXX/SQLEXPRESS
username: slquser1234
password: testpwd
Here is the error trace :
C:\inetpub\wwwroot\REDMIN~1>rake db:setup --trace
** Invoke db:setup (first_time)
** Invoke db:schema:load_if_ruby (first_time)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:create
** Invoke environment (first_time)
** Execute environment
rake aborted!
Server name not found in configuration files
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/tiny_tds-0.5.1-x86-mingw32/lib/tiny_tds/client.rb:68:in `connect'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/tiny_tds-0.5.1-x86-mingw32/lib/tiny_tds/client.rb:68:in `initialize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:417:in `new'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:417:in `connect'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:204:in `initialize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:40:in `new'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-sqlserver-adapter-3.2.12/lib/active_record/connection_adapters/sqlserver_adapter.rb:40:in `sqlserver_connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in `block (2 levels) in checkout'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `block in checkout'
C:/Ruby19/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in `block in connection'
C:/Ruby19/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/model_schema.rb:223:in `table_exists?'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:75:in `get_primary_key'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:60:in `reset_primary_key'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:49:in `primary_key'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activerecord-3.2.13/lib/active_record/attribute_assignment.rb:13:in `attributes_protected_by_default'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:216:in `block in protected_attributes_configs'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:188:in `yield'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:188:in `default'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:188:in `protected_attributes'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:118:in `block in attr_protected'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:117:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activemodel-3.2.13/lib/active_model/mass_assignment_security.rb:117:in `attr_protected'
C:/inetpub/wwwroot/redmine-test/app/models/issue_relation.rb:73:in `<class:IssueRelation>'
C:/inetpub/wwwroot/redmine-test/app/models/issue_relation.rb:18:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:469:in `load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:469:in `block in load_file'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:639:in `new_constants_in'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:468:in `load_file'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:353:in `require_or_load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:502:in `load_missing_constant'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:192:in `block in const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:514:in `load_missing_constant'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:192:in `block in const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:514:in `load_missing_constant'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:192:in `block in const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:514:in `load_missing_constant'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:192:in `block in const_missing'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:190:in `const_missing'
C:/inetpub/wwwroot/redmine-test/lib/redmine/helpers/gantt.rb:28:in `<class:Gantt>'
C:/inetpub/wwwroot/redmine-test/lib/redmine/helpers/gantt.rb:21:in `<module:Helpers>'
C:/inetpub/wwwroot/redmine-test/lib/redmine/helpers/gantt.rb:19:in `<module:Redmine>'
C:/inetpub/wwwroot/redmine-test/lib/redmine/helpers/gantt.rb:18:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/redmine-test/lib/redmine.rb:51:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/redmine-test/config/initializers/30-redmine.rb:4:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/engine.rb:587:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/engine.rb:587:in `block in <class:Engine>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
C:/inetpub/wwwroot/redmine-test/config/environment.rb:14:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/application.rb:103:in `require_environment!'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/railties-3.2.13/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
C:/Ruby19/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
C:/Ruby19/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:197:in `block in invoke_prerequisites'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:195:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:195:in `invoke_prerequisites'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
C:/Ruby19/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/gems/rake-10.1.1/bin/rake:33:in `<top (required)>'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/bin/rake:23:in `load'
C:/inetpub/wwwroot/REDMIN~1/GEM_HOME/bin/rake:23:in `<main>'
Tasks: TOP => db:setup => db:schema:load_if_ruby => environment
My first advice is to address this issue to support#helicontech.com.
And please clarify the following points:
the error is "Server name not found in configuration files", which means that Zoo is working but something is wrong with database connection, so
make sure that "rake db:setup --trace" is executed from Zoo console tun from manager.
make sure that in web.config you have
read the docs to tiny_tds https://github.com/rails-sqlserver/tiny_tds
:dataserver - Can be the name for your data server as defined in freetds.conf. Raw hostname or hostname:port will work here too. FreeTDS says that named instance like 'localhost\SQLEXPRESS' work too, but I highly suggest that you use the :host and :port options below. Google how to find your host port if you are using named instances or go here.