Can't install rmagick

Hi Guys,

I am trying to install gem - rmagick on Windows and not able to do so. I
get
following error message (run through Netbeans IDE)


INFO: gem install -y is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Updating metadata for 12 gems from http://gems.rubyforge.org

complete
Building native extensions. This could take a while…
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

C:/ruby/bin/ruby.exe extconf.rb install rmagick --no-rdoc --no-ri
–include-dependencies --version > 0

Gem files will remain installed in
C:/ruby/lib/ruby/gems/1.8/gems/rmagick-
2.2.2 for inspection.
Results logged to C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.2.2
/ext/RMagick/gem_make.out


Please help.

Also, I have one linux server where I can get list of all ruby gems
using
‘gem list --local’ command. I want to have a similar set up on my
windows
desktop, so that I can do a lot more testing on my own…

Is there a way of “copying” the server environment to desktop
environment?

Thanks,

Rajat G.

Ph: 206-499-9495
Add: 1314 Spring Street, #412
Seattle, WA 98104
Web: http://www.pilotoutlook.com

Rajat G. wrote:

complete
Building native extensions. This could take a while…
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

C:/ruby/bin/ruby.exe extconf.rb install rmagick --no-rdoc --no-ri
–include-dependencies --version > 0

Use the rmagick-win32 gem instead of the rmagick gem.

http://rmagick.rubyforge.org/install-faq.html#win

Thanks guys.

This got me moving to next step where all gems seem to be installed.
However, after I start the server and I try to ping the server from a
browser at http://localhost:3000

Any ideas? Please help.

=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)

=> Rails application starting on http://0.0.0.0:3000

=> Call with -d to detach

=> Ctrl-C to shutdown server

** Starting Mongrel listening at 0.0.0.0:3000

** Starting Rails with development environment…

Exiting

C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32/ext/RMagick2.so:
126: The specified module could not be found. -
C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32/ext/RMagick2.so
(LoadError)

    from 

C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’

    from 

C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require’

    from 

C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in
`new_constants_in’

    from 

C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require’

    from C:/ruby/lib/ruby/gems/1.8/gems/rmagick-2.0.0-x86-mswin32

/lib/RMagick.rb:11

    from 

C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require’

    from 

C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require’

    from 

C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in
`require’

     ... 45 levels...

    from C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3

/lib/commands/server.rb:39

    from 

C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’

    from 

C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’

    from script/server:3

On Sat, Mar 22, 2008 at 5:09 PM, Tim H. [email protected] wrote:

INFO: use --ignore-dependencies to install only the gems you list
Use the rmagick-win32 gem instead of the rmagick gem.

http://rmagick.rubyforge.org/install-faq.html#win


RMagick: http://rmagick.rubyforge.org/
RMagick 2: http://rmagick.rubyforge.org/rmagick2.html


Rajat G.

Ph: 206-499-9495
Add: 1314 Spring Street, #412
Seattle, WA 98104
Web: http://www.pilotoutlook.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs