Bug #1313: gem install not working on windows server 2008
http://redmine.ruby-lang.org/issues/show/1313

Author: David Winstanley
Status: Open, Priority: Normal
ruby -v: 1.9.1

I tried to run:
gem install mysql
after installing 
and got prompted for missing dlls 
ssleay32 zlib and vsinit

I tried downloading these from http://www.dll-files.com
however when they were installed obtained:

C:\>gem install mysql
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50: [BUG] Segmentation faul
t
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

-- control frame ----------
c:0035 p:---- s:0164 b:0164 l:000163 d:000163 CFUNC  :(null)
c:0034 p:---- s:0162 b:0162 l:000161 d:000161 CFUNC  :new
c:0033 p:0231 s:0158 b:0158 l:000136 d:000157 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:50
c:0032 p:0114 s:0153 b:0153 l:000139 d:000152 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_reader.rb:46
c:0031 p:---- s:0145 b:0145 l:000144 d:000144 FINISH
c:0030 p:---- s:0143 b:0143 l:000142 d:000142 CFUNC  :loop
c:0029 p:0011 s:0140 b:0140 l:000139 d:000139 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_reader.rb:37
c:0028 p:0089 s:0137 b:0137 l:000136 d:000136 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:33
c:0027 p:---- s:0125 b:0125 l:000124 d:000124 FINISH
c:0026 p:---- s:0123 b:0123 l:000122 d:000122 CFUNC  :new
c:0025 p:0018 s:0118 b:0118 l:000117 d:000117 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:18
c:0024 p:0095 s:0111 b:0111 l:000110 d:000110 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package.rb:56
c:0023 p:0043 s:0103 b:0103 l:001444 d:001444 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:67
c:0022 p:0018 s:0096 b:0096 l:000085 d:000095 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:51
c:0021 p:---- s:0093 b:0093 l:000092 d:000092 FINISH
c:0020 p:---- s:0091 b:0091 l:000090 d:000090 CFUNC  :open
c:0019 p:0157 s:0086 b:0086 l:000085 d:000085 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:50
c:0018 p:0209 s:0080 b:0080 l:000079 d:000079 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/installer.rb:114
c:0017 p:---- s:0073 b:0073 l:000072 d:000072 FINISH
c:0016 p:---- s:0071 b:0071 l:000070 d:000070 CFUNC  :new
c:0015 p:0214 s:0066 b:0066 l:00042c d:001334 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/dependency_installer.rb:236
c:0014 p:---- s:0058 b:0058 l:000057 d:000057 FINISH
c:0013 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC  :each
c:0012 p:0101 s:0053 b:0053 l:00042c d:00042c METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/dependency_installer.rb:219
c:0011 p:0049 s:0048 b:0048 l:000037 d:000047 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/commands/install_command.rb:86
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC  :each
c:0008 p:0241 s:0038 b:0038 l:000037 d:000037 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/commands/install_command.rb:83
c:0007 p:0071 s:0031 b:0031 l:000030 d:000030 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command.rb:136
c:0006 p:0194 s:0027 b:0027 l:000026 d:000026 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:105
c:0005 p:0013 s:0021 b:0021 l:000020 d:000020 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:75
c:0004 p:0089 s:0016 b:0016 l:000015 d:000015 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/gem_runner.rb:39
c:0003 p:0212 s:0009 b:0009 l:001fd4 d:0007c8 EVAL   c:/ruby/bin/gem.bat:32
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001fd4 d:001fd4 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `(null)'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `block in initialize'

c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:46:in `block in each'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:37:in `loop'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:37:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:33:in `initialize'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:18:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:18:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/package.rb:56:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:67:in `from_io'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:51:in `block in from_file_by_path'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:50:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:50:in `from_file_by_path'
c:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:114:in `initialize'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:236:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:236:in `block in install
'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:219:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:219:in `install'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:86:in `block in exec
ute'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:83:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:83:in `execute'
c:/ruby/lib/ruby/1.9.1/rubygems/command.rb:136:in `invoke'
c:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:105:in `process_args'
c:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in `run'
c:/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in `run'
c:/ruby/bin/gem.bat:32:in `<main>'

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\>gem install rcov
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50: [BUG] Segmentation faul
t
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

-- control frame ----------
c:0035 p:---- s:0164 b:0164 l:000163 d:000163 CFUNC  :(null)
c:0034 p:---- s:0162 b:0162 l:000161 d:000161 CFUNC  :new
c:0033 p:0231 s:0158 b:0158 l:000136 d:000157 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:50
c:0032 p:0114 s:0153 b:0153 l:000139 d:000152 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_reader.rb:46
c:0031 p:---- s:0145 b:0145 l:000144 d:000144 FINISH
c:0030 p:---- s:0143 b:0143 l:000142 d:000142 CFUNC  :loop
c:0029 p:0011 s:0140 b:0140 l:000139 d:000139 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_reader.rb:37
c:0028 p:0089 s:0137 b:0137 l:000136 d:000136 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:33
c:0027 p:---- s:0125 b:0125 l:000124 d:000124 FINISH
c:0026 p:---- s:0123 b:0123 l:000122 d:000122 CFUNC  :new
c:0025 p:0018 s:0118 b:0118 l:000117 d:000117 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package/tar_input.rb:18
c:0024 p:0095 s:0111 b:0111 l:000110 d:000110 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/package.rb:56
c:0023 p:0043 s:0103 b:0103 l:001ab4 d:001ab4 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:67
c:0022 p:0018 s:0096 b:0096 l:000085 d:000095 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:51
c:0021 p:---- s:0093 b:0093 l:000092 d:000092 FINISH
c:0020 p:---- s:0091 b:0091 l:000090 d:000090 CFUNC  :open
c:0019 p:0157 s:0086 b:0086 l:000085 d:000085 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/format.rb:50
c:0018 p:0209 s:0080 b:0080 l:000079 d:000079 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/installer.rb:114
c:0017 p:---- s:0073 b:0073 l:000072 d:000072 FINISH
c:0016 p:---- s:0071 b:0071 l:000070 d:000070 CFUNC  :new
c:0015 p:0214 s:0066 b:0066 l:000af4 d:001b9c BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/dependency_installer.rb:236
c:0014 p:---- s:0058 b:0058 l:000057 d:000057 FINISH
c:0013 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC  :each
c:0012 p:0101 s:0053 b:0053 l:000af4 d:000af4 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/dependency_installer.rb:219
c:0011 p:0049 s:0048 b:0048 l:000037 d:000047 BLOCK  c:/ruby/lib/ruby/1.9.1/ruby
gems/commands/install_command.rb:86
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC  :each
c:0008 p:0241 s:0038 b:0038 l:000037 d:000037 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/commands/install_command.rb:83
c:0007 p:0071 s:0031 b:0031 l:000030 d:000030 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command.rb:136
c:0006 p:0194 s:0027 b:0027 l:000026 d:000026 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:105
c:0005 p:0013 s:0021 b:0021 l:000020 d:000020 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:75
c:0004 p:0089 s:0016 b:0016 l:000015 d:000015 METHOD c:/ruby/lib/ruby/1.9.1/ruby
gems/gem_runner.rb:39
c:0003 p:0212 s:0009 b:0009 l:000bb4 d:001ab8 EVAL   c:/ruby/bin/gem.bat:32
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000bb4 d:000bb4 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `(null)'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:50:in `block in initialize'

c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:46:in `block in each'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:37:in `loop'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_reader.rb:37:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:33:in `initialize'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:18:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/package/tar_input.rb:18:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/package.rb:56:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:67:in `from_io'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:51:in `block in from_file_by_path'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:50:in `open'
c:/ruby/lib/ruby/1.9.1/rubygems/format.rb:50:in `from_file_by_path'
c:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:114:in `initialize'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:236:in `new'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:236:in `block in install
'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:219:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:219:in `install'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:86:in `block in exec
ute'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:83:in `each'
c:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:83:in `execute'
c:/ruby/lib/ruby/1.9.1/rubygems/command.rb:136:in `invoke'
c:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:105:in `process_args'
c:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in `run'
c:/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in `run'
c:/ruby/bin/gem.bat:32:in `<main>'

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\>


----------------------------------------
http://redmine.ruby-lang.org