On Wed, Feb 3, 2010 at 4:47 PM, Shahab Qadeer <shahab_qadeer / hotmail.com> wrote:
> /!\ FAILSAFE /!\ Wed Feb 03 23:02:50 +0500 2010
> Status: 500 Internal Server Error
> uninitialized constant Mysql::Protocol::UNIXSocket
>  C:/Program Files/NetBeans
> 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:105:in
> `const_missing'
>  C:/Program Files/NetBeans
> 6.8/ruby2/jruby-1.4.0/lib/ruby/gems/1.8/gems/ruby-mysql-2.9.2/lib/mysql/protocol.rb:212:in
> `initialize'

This looks like the ruby-mysql gem (which I assume is the pure-ruby
mysql driver) depends on UNIXSocket, which is obviously not available
on Windows.

Perhaps you're using the default Rails configuration that tries to use
unix sockets instead of a real socket? Try changing the config to
specify a host name instead of a UNIX socket file.

- Charlie