Hallo zusammen,
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:
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
Hat von euch ne Idee? Bin für jeden Tipp dankbar.
g Nerosmeel
P.S. Unter Ruby 1.8.6 läufts ohne Probleme...
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:
Einen Lösungsweg habe ich hier gefunden SapphireSteel :: Rails 2.2 and MySQL Problems Das habe ich auch alles brav gemacht. Am Fehler hat sich allerdings nichts geändert.C:\Ruby\bin\ruby.exe -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) CUsers/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.
CUsers/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 CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:7:in `block in require_library_or_gem'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:65:in `mysql_connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'
from CRuby/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/plugins/query_stats/init.rb:6:in `block in evaluate_init_rb'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:146:in `eval'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:146:in `block in evaluate_init_rb'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:142:in `evaluate_init_rb'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin.rb:48:in `load'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `block in load_plugins'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:348:in `load_plugins'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:163:in `process'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/initializer.rb:113:in `run'
from CUsers/Nerosmeel/RubymineProjects/themedical/config/environment.rb:18:in `'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from CUsers/Nerosmeel/RubymineProjects/themedical/vendor/rails/railties/lib/commands/server.rb:84:in `'
from CUsers/Nerosmeel/RubymineProjects/themedical/script/server:3:in `require'
from CUsers/Nerosmeel/RubymineProjects/themedical/script/server:3:in `'
from -e:1:in `load'
from -e:1:in `
'
Process finished with exit code 1
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
P.S. Unter Ruby 1.8.6 läufts ohne Probleme...
Users/Nerosmeel/RubymineProjects/themedical/script/server default -p 3000 -b 127.0.0.1 -e development