views:

458

answers:

2

When trying to run a simple ruby program I wrote, I am getting this error. Just reinstalled everything the other day, before the code was working fine.

ruby/1.8/i386-mswin32/openssl.so: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. - C:/ruby/lib/ruby/1.8/i386-mswin32/openssl.so (LoadError)

application event log: Activation context generation failed for "C:\ruby\bin\SSLEAY32.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.

+1  A: 

Needed the visual c++ redistributable package. Thanks for the help jitter, you comment lead me to the right direction.

+1  A: 

Same problem also for me. Installing Microsoft Visual C++ 2008 Redistributable Package (x86) resolved the problem