Topic: Not able to load .so file / getting error while starting server.

Hi


Following is the error that we are getting, while running the server :

c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3000
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require': 126: The specified module could not be found.   - c:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/1.9/mysql_api.so (LoadError)
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `block in require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/mysql.rb:7:in `rescue in <top (required)>'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/mysql.rb:2:in `<top (required)>'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `each'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `block in require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
       from C:/Users/aggarwal.rishi/Documents/Code/30July/config/boot.rb:42:in `load_gems'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb:164:in `process'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
       from C:/Users/aggarwal.rishi/Documents/Code/30July/config/environment.rb:84:in `<top (required)>'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `block in require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
       from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/commands/server.rb:84:in `<top (required)>'
       from C:/Users/aggarwal.rishi/Documents/Code/30July/script/server:3:in `require'
       from C:/Users/aggarwal.rishi/Documents/Code/30July/script/server:3:in `<main>'



====================================================================

Our Configuration

RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.24
  - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i386-mingw32]
  - INSTALLATION DIRECTORY: c:/Ruby193/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: c:/Ruby193/bin/ruby.exe
  - EXECUTABLE DIRECTORY: c:/Ruby193/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - c:/Ruby193/lib/ruby/gems/1.9.1
     - x:/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/


*** LOCAL GEMS ***

actionmailer (3.2.7, 2.3.14, 2.3.11)
actionpack (3.2.7, 2.3.14, 2.3.11)
activemodel (3.2.7)
activerecord (3.2.7, 2.3.14, 2.3.11)
activeresource (3.2.7, 2.3.14, 2.3.11)
activesupport (3.2.7, 2.3.14, 2.3.11)
arel (3.0.2)
bigdecimal (1.1.0)
builder (3.0.0)
bundler (1.1.5)
capistrano (2.12.0)
cgi_multipart_eof_fix (2.5.0)
ci_reporter (1.6.9)
erubis (2.7.0)
gem_plugin (0.2.3)
geokit (1.5.0)
highline (1.6.12)
hike (1.2.1)
i18n (0.6.0)
io-console (0.3)
journey (1.0.4)
json (1.5.4)
mail (2.4.4)
metaclass (0.0.1)
mime-types (1.19)
minitest (2.5.1)
mocha (0.12.1, 0.11.4)
mongrel (1.1.5 x86-mingw32)
multi_json (1.3.6)
mysql (2.8.1 x86-mingw32)
mysql2 (0.3.11 x86-mingw32)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.5.2)
net-ssh-gateway (1.1.0)
pik (0.2.8)
polyglot (0.3.3)
rack (1.4.1, 1.1.3)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.7, 2.3.14, 2.3.11)
railties (3.2.7)
rake (0.9.2.2)
rcov (0.9.11)
rdoc (3.9.4)
rubycas-client (2.2.1)
rubygems-update (1.8.24, 1.6.2, 1.5.3, 1.3.7)
rvm (1.11.3.5)
sprockets (2.1.3)
test-unit (2.5.1, 2.5.0)
thor (0.15.4)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)