rmagick update

c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/rmagick-1.14.1-win32/ext/RMagick.so: This version of RMagick was created to run with Image
Magick 6.3.0 (RuntimeError)
but ImageMagick 6.3.5 is installed on this system. You should either
1) Configure and build RMagick for ImageMagick 6.3.5, or
2) download ImageMagick 6.3.0 from http://www.imagemagick.org and install it.
from c:/old_ruby_msvc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require’
from c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require’
from c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_
in’
from c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require’
from ./script/../config/../vendor/plugins/simple_captcha/lib/simple_captcha_image.rb:2
from c:/old_ruby_msvc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
from c:/old_ruby_msvc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
from c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require’
… 39 levels…
from c:/old_ruby_msvc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39
from c:/old_ruby_msvc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
from c:/old_ruby_msvc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
from script/server:3

means ‘you have an older gem than you install’  –instal the gem win32 packaged one (both together).

compiling mingw with ruby 1.8.6

download mingw + msys +msysdtk

gcc -g -O2 -DRUBY_EXPORT -I. -I. -c parse.c
parse.y: In function `ruby_yylex’:
parse.y:4445: warning: assignment makes pointer from integer without a cast
parse.y:4448: error: dereferencing pointer to incomplete type
parse.y:4450: error: dereferencing pointer to incomplete type
parse.y:4451: error: dereferencing pointer to incomplete type
parse.y:4453: error: dereferencing pointer to incomplete type
parse.y:4462: error: dereferencing pointer to incomplete type
parse.y:4464: error: dereferencing pointer to incomplete type
parse.y:4464: error: dereferencing pointer to incomplete type
parse.y:4466: error: dereferencing pointer to incomplete type
make: *** [parse.o] Error 1
might mean ‘you are compiling it from the source given by the one-click–you need the raw stuff–svn’

or ‘lex.c is broken’ (apparently)

gcc -g -O2 -DRUBY_EXPORT -I. -I. -c eval.c
eval.c: In function `rb_thread_start_timer’:
eval.c:11883: error: storage size of ‘tval’ isn’t known
eval.c:11889: error: `ITIMER_VIRTUAL’ undeclared (first use in this function)
eval.c:11889: error: (Each undeclared identifier is reported only once
eval.c:11889: error: for each function it appears in.)
eval.c: In function `rb_thread_stop_timer’:
eval.c:11895: error: storage size of ‘tval’ isn’t known
eval.c:11901: error: `ITIMER_VIRTUAL’ undeclared (first use in this function)
make: *** [eval.o] Error 1

might mean ‘setup mingw again from scratch using all lowercase for the path–really from scratch possibly reboot.’

If your path is all messed up and doesn’t load gcc–you need to uninstall msys (possibly deleting /etc/fstab), and start over.

http://www.mingw.org/MinGWiki/index.php/SmartQuickStart is good for that.

then run start->program files->msys->msys, navigate to /c/ruby_src or whatever,

./configure && make && make install.