ich hab mir vor ein paar Tagen einmal das restful_authentication_tutorial angeschaut und wollte dies jetzt mal live testen. Den umstand habe ich genutzt um auch gleich ein Update auf Ruby 1.9.1 zu machen, vorher 1.8.6.
Das Problem erscheint in form des Fehlers:
C:\Ruby\bin\ruby.exe -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) C:/Users/Nerosmeel/RubymineProjects/themedical/script/server default -p 3000 -b 127.0.0.1 -e development
=> Booting WEBrick
=> Rails 2.3.2 application starting on http://127.0.0.1:3000
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require': 126: Das angegebene Modul wurde nicht gefunden. - C:/Ruby/lib/ruby/gems/1.9.1/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so (LoadError)
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:7:in `block in require_library_or_gem'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:65:in `mysql_connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'
from C:/Ruby/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/plugins/query_stats/init.rb:6:in `block in evaluate_init_rb'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:146:in `eval'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:146:in `block in evaluate_init_rb'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:142:in `evaluate_init_rb'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:48:in `load'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `block in load_plugins'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:348:in `load_plugins'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:163:in `process'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:113:in `run'
from C:/Users/Nerosmeel/RubymineProjects/themedical/config/environment.rb:18:in `<top (required)>'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/commands/server.rb:84:in `<top (required)>'
from C:/Users/Nerosmeel/RubymineProjects/themedical/script/server:3:in `require'
from C:/Users/Nerosmeel/RubymineProjects/themedical/script/server:3:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
Process finished with exit code 1
Ein Lösungsweg wurde ja schon hierim Forum beschrieben. Das habe ich auch alles gemacht. Am Fehler hat sich allerdings nichts geändert.
Wenn ich jetzt allerdings mit Rubymine ein neues Projekt erstelle dann startet der Server ohne Probleme.
Ich arbeite mit: Rubymine, Windows 7, mySQL 5.0, Ruby 1.9.1.
Ich bin mit meinem Latein am ende
g Nerosmeel

