After a few hours of Googling, I finally came across a solution from a
forum post that seemed to work.
just thought I put it out there for anyone that might come across
this.

"I had this problem. My solution was to copy libmysql.dll from the
MYSQL installation to ruby/bin."

and FML... it works.


On May 19, 12:18 am, megatoast <[email protected]> wrote:
> Hi all,
>
> I've tried a lot things to try to resolve this issue before finally
> giving up and posting for help.
> currently using Aptana's RadRails.
>
> I was able to install all the gems including FreeImage and Imagic
> Science
> i was able to run script/install and it looked like it generated the
> files for me.
>
> my problem is the
>
> rake db:test:prepare
>
> at which point I keep getting
>
> !!! The bundled mysql.rb driver has been removed from Rails 2.2.
> Please install the mysql gem and try again: gem install mysql.
> rake aborted!
> 126: The specified module could not be found.   - C:/ruby/lib/ruby/
> gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so
>
> now I tried reinstalling the mysql gem and even mySQL itself (version
> mysql-5.0.45-win32)
> i've even tried to unfreeze insoshi from Rails 2.2 but I am still
> getting that error.
>
> any help would be really appreciated. I've included the trace below:
>
> rake db:test:prepare --trace
> (in C:/Workspace/megatoast)
> ** Invoke db:test:prepare (first_time)
> ** Invoke db:abort_if_pending_migrations (first_time)
> ** Invoke environment (first_time)
> ** Execute environment
> !!! The bundled mysql.rb driver has been removed from Rails 2.2.
> Please install the mysql gem and try again: gem install mysql.
> rake aborted!
> 126: The specified module could not be found.   - C:/ruby/lib/ruby/
> gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so
> C:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> core_ext/kernel/requires.rb:7:in `require_library_or_gem'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> core_ext/kernel/reporting.rb:11:in `silence_warnings'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> core_ext/kernel/requires.rb:5:in `require_library_or_gem'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/mysql_adapter.rb:63:in `mysql_connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:223:in `send'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:223:in
> `new_connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:245:in
> `checkout_new_connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:188:in `checkout'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:184:in `loop'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:184:in `checkout'
> C:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:183:in `checkout'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:98:in `connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:326:in
> `retrieve_connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_specification.rb:121:in
> `retrieve_connection'
> C:/Workspace/megatoast/vendor/rails/activerecord/lib/active_record/
> connection_adapters/abstract/connection_specification.rb:113:in
> `connection'
> C:/Workspace/megatoast/vendor/plugins/ultrasphinx/lib/ultrasphinx/
> ultrasphinx.rb:92
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/plugins/ultrasphinx/lib/ultrasphinx.rb:
> 15
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/plugins/ultrasphinx/init.rb:2:in
> `evaluate_init_rb'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin.rb:103:in `evaluate_init_rb'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> core_ext/kernel/reporting.rb:11:in `silence_warnings'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin.rb:99:in `evaluate_init_rb'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin.rb:44:in `load'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin/loader.rb:33:in `load_plugins'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin/loader.rb:32:in `each'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/rails/
> plugin/loader.rb:32:in `load_plugins'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/
> initializer.rb:323:in `load_plugins'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/
> initializer.rb:160:in `process'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/
> initializer.rb:112:in `send'
> C:/Workspace/megatoast/config/../vendor/rails/railties/lib/
> initializer.rb:112:in `run'
> C:/Workspace/megatoast/config/environment.rb:14
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
> C:/Workspace/megatoast/vendor/rails/activesupport/lib/active_support/
> dependencies.rb:153:in `require'
> C:/Workspace/megatoast/vendor/rails/railties/lib/tasks/misc.rake:3
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in
> `invoke_prerequisites'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in
> `invoke_prerequisites'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:577:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in
> `invoke_prerequisites'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in
> `invoke_prerequisites'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:577:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
> `invoke_with_call_chain'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in
> `invoke_task'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
> `top_level'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
> `top_level'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
> `standard_exception_handling'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in
> `top_level'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
> `standard_exception_handling'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
> C:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
> C:/ruby/bin/rake:19:in `load'
> C:/ruby/bin/rake:19
>
> -steven
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to