# Various problems after installing ruby 1.9.1

**URL:** <https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613>\
**Category:** Ruby\
**Created:** [January 13, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613 "2009-01-13T18:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e47c2d/32.png) [@rubina](https://www.ruby-forum.com/u/rubina)\
**Post date:** [January 13, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613/1 "2009-01-13T18:24:01Z")

</div>

Team,  
I unzipped ruby 1.9.1 where ruby 1.8.6 was located and since then I am  
having some problems and therefore will appreciate some help.  
Please notice that I still CAN run my ruby scripts, at least the few I  
tried.

C:\>ruby -v  
ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]

C:\>irb  
Generates msg: This application has failed to start because readline.dll  
was  
not found. Re-installing may fix this problem.

But irb actually works after clicking OK on the dialog.

If I try to install any gem (I tried irb & wxruby) I get one or both of  
the  
following two errors, one after the other, in a dialog box:  
Also, if I run gem (for example gem unpack) I get the second error  
(zlib)  
listed below:

This application has failed to start because SSLEAY32.dll was not  
found.  
Re-installing may fix this problem.  
This application has failed to start because zlib.dll was not found.  
Re-installing may fix this problem.

C:\>gem install irb  
C:/ruby/lib/ruby/1.9.1/rubygems/package.rb:10:in `require': 126: The specified module could not be found. - C:/ruby/lib/ruby/1.9.1/i386-mswin32/zlib.so (LoadError) from C:/ruby/lib/ruby/1.9.1/rubygems/package.rb:10:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/format.rb:9:in `require' from C:/ruby/lib/ruby/1.9.1/rubygems/format.rb:9:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:11:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:11:in`\<top  
(required)\>’  
from  
C:/ruby/lib/ruby/1.9.1/rubygems/dependency\_installer.rb:3:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:3:in`\<top (required)\>’  
from  
C:/ruby/lib/ruby/1.9.1/rubygems/commands/install\_command.rb:4:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:140:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in`rescue in load\_and\_instantiate’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:132:in  
`load_and_instantiate' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:65:in`[]’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:118:in  
`find_command' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in`process\_args’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:75:in  
`run' from C:/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in`run’  
from C:/ruby/bin/gem.bat:32:in `’

C:\>gem install wxruby  
C:/ruby/lib/ruby/1.9.1/rubygems/package.rb:10:in `require': 126: The specified module could not be found. - C:/ruby/lib/ruby/1.9.1/i386-mswin32/zlib.so (LoadError) from C:/ruby/lib/ruby/1.9.1/rubygems/package.rb:10:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/format.rb:9:in `require' from C:/ruby/lib/ruby/1.9.1/rubygems/format.rb:9:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:11:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/installer.rb:11:in`\<top  
(required)\>’  
from  
C:/ruby/lib/ruby/1.9.1/rubygems/dependency\_installer.rb:3:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/dependency_installer.rb:3:in`\<top (required)\>’  
from  
C:/ruby/lib/ruby/1.9.1/rubygems/commands/install\_command.rb:4:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/commands/install_command.rb:4:in`\<top  
(required)\>’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:140:in  
`require' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:140:in`rescue in load\_and\_instantiate’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:132:in  
`load_and_instantiate' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:65:in`[]’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:118:in  
`find_command' from C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in`process\_args’  
from C:/ruby/lib/ruby/1.9.1/rubygems/command\_manager.rb:75:in  
`run' from C:/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in`run’  
from C:/ruby/bin/gem.bat:32:in `’

C:\>

Thank you for any advise!

---

<div class="post-metadata">

**Author:** ![rubina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e47c2d/32.png) [@rubina](https://www.ruby-forum.com/u/rubina)\
**Post date:** [January 14, 2009, 11:53am UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613/2 "2009-01-14T11:53:09Z")

</div>

2009/1/13 Ruby S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I unzipped ruby 1.9.1 where ruby 1.8.6 was located and since then I am

THIS is the first error. I suggest to restore the old directory  
contents and reinstall in another place.

robert

---

<div class="post-metadata">

**Author:** ![rubina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e47c2d/32.png) [@rubina](https://www.ruby-forum.com/u/rubina)\
**Post date:** [January 14, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613/3 "2009-01-14T20:05:48Z")

</div>

On Wed, Jan 14, 2009 at 5:50 AM, Robert K.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Robert,  
> Thank you for your reply!  
> I actually completely removed the old version.  
> This time I unzipped 1.9.1 on its own directory and ensure that  
> environment  
> variables were properly set.  
> The version is properly returned as in:  
> C:\>ruby -v  
> ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]

But I am still getting the same errors.  
As you know, Ruby 1.9.1 is a zipped version, which I unzipped on  
ruby-1.9.1.  
I then proceeded to update the path and class variables to reflect  
ruby-1.9.1.  
Any help will be appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![rubina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e47c2d/32.png) [@rubina](https://www.ruby-forum.com/u/rubina)\
**Post date:** [January 14, 2009, 9:00pm UTC](https://www.ruby-forum.com/t/various-problems-after-installing-ruby-1-9-1/157613/4 "2009-01-14T21:00:44Z")

</div>

On Jan 14, 5:04 pm, Ruby S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> variables were properly set.  
> Thank you

Hello “Ruby S.”

You’re getting those errors since you’re missing the binaries required  
to zlib, openssl and readline.

Those binaries exist in One-Click installer because the package  
developers decided to bundle those to ease the users life.

There is no official package for 1.9.1 of One-Click Installer, so you  
will need to manually hunt down (download and extract).

Use as reference the following:

> <https://stackoverflow.com/questions/390897/installing-ruby-1-8-7-and-other-stuff-manually>

[http://www.garbagecollect.jp/ruby/mswin32/en/documents/](http://www.garbagecollect.jp/ruby/mswin32/en/documents/)

HTH,
