Redmine not starting and rake problems
Added by Bharani Prasad V S about 14 years ago
I am getting these errors:
rake test (in /opt/redmine-0.9.4/vendor/plugins/engines) > Recreating test application > Creating test application at /opt/redmine-0.9.4/vendor/plugins/engines/test_app building rails using the 'rails' command (rails version: 2.3.8) writing database.yml installing exception_notification plugin > Copying engines plugin into test application > Tweaking generated application to be suitable for testing > Mirroring test application files into /opt/redmine-0.9.4/vendor/plugins/engines/test_app > Loading the test application environment and running tests (in /opt/redmine-0.9.4/vendor/plugins/engines/test_app) DEPRECATION WARNING: Rake tasks in vendor/plugins/engines/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) (in /opt/redmine-0.9.4/vendor/plugins/engines/test_app) DEPRECATION WARNING: Rake tasks in vendor/plugins/engines/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) /usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "vendor/plugins/test_testing/test/unit/override_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started .. Finished in 0.017418 seconds. 2 tests, 2 assertions, 0 failures, 0 errors /usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" /usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" /usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/action_mailer_test.rb" "test/unit/migration_test.rb" "test/unit/test_testing/override_test.rb" "test/unit/model_and_lib_test.rb" "test/unit/assets_test.rb" "test/unit/arbitrary_code_mixing_test.rb" "test/unit/plugins_test.rb" "test/unit/backwards_compat_test.rb" "test/unit/load_path_test.rb" "test/unit/testing_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader Started .................................. Finished in 0.191637 seconds. 34 tests, 92 assertions, 0 failures, 0 errors /usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/routes_test.rb" "test/functional/controller_loading_test.rb" "test/functional/view_loading_test.rb" "test/functional/locale_loading_test.rb" "test/functional/exception_notification_compatibility_test.rb" "test/functional/view_helpers_test.rb" /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- action_dispatch (MissingSourceFile) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158:in `require' from /opt/redmine-0.9.4/vendor/plugins/engines/test_app/vendor/plugins/exception_notification/lib/exception_notifier.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions' from /opt/redmine-0.9.4/vendor/plugins/engines/test_app/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' ... 7 levels... from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:147:in `load' from /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5 from /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each' from /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5 /usr/bin/ruby -I"lib:test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" Errors running test:functionals!
And another problem while starting the redmine with ruby:
ruby script/server -e production => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:589:in `real_connect': Access denied for user 'root'@'MINR-LINUX01' (using password: YES) (Mysql::Error) from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:589:in `connect' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:203:in `initialize' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `new' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:75:in `mysql_connection' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection' from /opt/redmine-0.9.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout' ... 81 levels... from /opt/redmine-0.9.4/vendor/rails/railties/lib/commands/server.rb:84 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3
While when i checked it with mysql the password seems to be working
I am not able to solve this issue, which is stopping my work. Please help me how to resolve this issue asap