Rmagick not working?

Dear Friends,

I have installed Ruby 1.9.1 & rails 3.0.0 (beta vaersion) also its
dependencies in my windows xp machine.

I have also installed image magick version 6.6.1 q16.

I need to work on task related to images, so i tried to install rmagick
in my system, rmagick 2.13.1 installed successfully in my system. But i
receive the follwing error while using rmagick in my code,

irb(main):001:0> require ‘RMagick’
LoadError: no such file to load – RMagick2.so
from
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rmagick-2.13.0/lib/RMagick.rb:11
:in require' from C:/Ruby19/lib/ruby/gems/1.9.1/gems/rmagick-2.13.0/lib/RMagick.rb:11 :in<top (required)>’
from (irb):1:in require' from (irb):1 from C:/Ruby19/bin/irb:12:in

In controller part i received the following error

no such file to load – RMagick

Rails.root: D:/Projects/inProgress/PRESSP0310/tasks/image_gallery
Application Trace | Framework Trace | Full Trace

app/controllers/images_controller.rb:2:in `<top (required)>’

C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:in
require' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:inblock in require’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:195:in
block in load_dependency' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:523:innew_constants_in’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:195:in
load_dependency' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:inrequire’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:415:in
load' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:415:inblock in load_file’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:523:in
new_constants_in' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:414:inload_file’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:310:in
require_or_load' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:452:inload_missing_constant’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:153:in
block in const_missing' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:151:ineach’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:151:in
const_missing' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:114:inblock in constantize’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:113:in
each' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:113:inconstantize’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:47:in
controller' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:25:incall’
rack-mount (0.6.3) lib/rack/mount/route_set.rb:148:in block in call' rack-mount (0.6.3) lib/rack/mount/code_generation.rb:89:inblock in
recognize’
rack-mount (0.6.3) lib/rack/mount/code_generation.rb:66:in
optimized_each' rack-mount (0.6.3) lib/rack/mount/code_generation.rb:88:inrecognize’
rack-mount (0.6.3) lib/rack/mount/route_set.rb:139:in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:458:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:31:in
block in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/query_cache.rb:35:incache’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:11:in
cache' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:30:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/connection_pool.rb:365:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/head.rb:14:incall’
rack (1.1.0) lib/rack/methodoverride.rb:24:in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/params_parser.rb:19:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/flash.rb:167:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/session/cookie_store.rb:107:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/cookies.rb:202:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:46:inblock in call’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:410:in
_run_call_callbacks' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88:inrun_callbacks’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:44:in
call' rack (1.1.0) lib/rack/sendfile.rb:105:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/remote_ip.rb:48:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/show_exceptions.rb:48:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/rack/logger.rb:13:in
call' rack (1.1.0) lib/rack/runtime.rb:17:incall’
rack (1.1.0) lib/rack/lock.rb:11:in block in call' <internal:prelude>:8:insynchronize’
rack (1.1.0) lib/rack/lock.rb:11:in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/static.rb:30:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/application.rb:132:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/application.rb:81:inmethod_missing’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/rack/log_tailer.rb:15:in
call' rack (1.1.0) lib/rack/content_length.rb:13:incall’
rack (1.1.0) lib/rack/handler/webrick.rb:48:in service' C:/Ruby19/lib/ruby/1.9.1/webrick/httpserver.rb:111:inservice’
C:/Ruby19/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' C:/Ruby19/lib/ruby/1.9.1/webrick/server.rb:183:inblock in
start_thread’

C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:in
require' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:inblock in require’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:195:in
block in load_dependency' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:523:innew_constants_in’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:195:in
load_dependency' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:209:inrequire’
app/controllers/images_controller.rb:2:in <top (required)>' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:415:inload’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:415:in
block in load_file' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:523:innew_constants_in’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:414:in
load_file' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:310:inrequire_or_load’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:452:in
load_missing_constant' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:153:inblock in const_missing’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:151:in
each' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/dependencies.rb:151:inconst_missing’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:114:in
block in constantize' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:113:ineach’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/inflector/methods.rb:113:in
constantize' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:47:incontroller’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:25:in
call' rack-mount (0.6.3) lib/rack/mount/route_set.rb:148:inblock in call’
rack-mount (0.6.3) lib/rack/mount/code_generation.rb:89:in block in recognize' rack-mount (0.6.3) lib/rack/mount/code_generation.rb:66:inoptimized_each’
rack-mount (0.6.3) lib/rack/mount/code_generation.rb:88:in recognize' rack-mount (0.6.3) lib/rack/mount/route_set.rb:139:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/routing/route_set.rb:458:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:31:inblock in call’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/query_cache.rb:35:in
cache' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:11:incache’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/query_cache.rb:30:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0.beta3/lib/active_record/connection_adapters/abstract/connection_pool.rb:365:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/head.rb:14:in
call' rack (1.1.0) lib/rack/methodoverride.rb:24:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/params_parser.rb:19:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/flash.rb:167:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/session/cookie_store.rb:107:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/cookies.rb:202:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:46:in
block in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:410:in_run_call_callbacks’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88:in
run_callbacks' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/callbacks.rb:44:incall’
rack (1.1.0) lib/rack/sendfile.rb:105:in call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/remote_ip.rb:48:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/show_exceptions.rb:48:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/rack/logger.rb:13:incall’
rack (1.1.0) lib/rack/runtime.rb:17:in call' rack (1.1.0) lib/rack/lock.rb:11:inblock in call’
internal:prelude:8:in synchronize' rack (1.1.0) lib/rack/lock.rb:11:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/static.rb:30:in
call' C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/application.rb:132:incall’
C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/application.rb:81:in
method_missing' C:/Ruby19/lib/ruby/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/rack/log_tailer.rb:15:incall’
rack (1.1.0) lib/rack/content_length.rb:13:in call' rack (1.1.0) lib/rack/handler/webrick.rb:48:inservice’
C:/Ruby19/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' C:/Ruby19/lib/ruby/1.9.1/webrick/httpserver.rb:70:inrun’
C:/Ruby19/lib/ruby/1.9.1/webrick/server.rb:183:in `block in
start_thread’

This error occurred while loading the following files:
RMagick

Could any please suggest a way to fix this issue?

Thanks in advance

Regards,
Jose Martin