Hi - i’ve not done much with gems and am struggling with this one.
(rubygems.org seems to be down)
I’ve installed imagemagick with
ruby script/plugin install
http://opensvn.csie.org/rails_imagemagick_tag/imagemagick_tag/
That seemed to go ok - it looked like it was adding a few files
somewhere anyway.
Then, i tried to install the rmagick gem with
C:\code\InstantRails\rails_apps\newspipe>gem install --remote rmagick
It thinks for a while and then gives me this:
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby gem_extconf.rb install rmagick
sh configure
gem_extconf.rb:38: undefined method `exitstatus’ for nil:NilClass
(NoMethodError)
Gem files will remain installed in
C:/code/InstantRails/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.8 for
inspection.
Results logged to
C:/code/InstantRails/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.8/gem_make.out
Does anyone know what i’m doing wrong? Is this the right way to add a
gem to my app?