Various problems after installing ruby 1.9.1

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 `<main>'

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 `<main>'

C:\>

Thank you for any advise!

···

--
Ruby Student

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

robert

···

2009/1/13 Ruby Student <ruby.student@gmail.com>:

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

--
remember.guy do |as, often| as.you_can - without end

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

···

On Wed, Jan 14, 2009 at 5:50 AM, Robert Klemme <shortcutter@googlemail.com>wrote:

2009/1/13 Ruby Student <ruby.student@gmail.com>:
> 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

--
remember.guy do |as, often| as.you_can - without end

Robert,

--
Ruby Student

Hello "Ruby Student"

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:

http://www.garbagecollect.jp/ruby/mswin32/en/documents/

HTH,

···

On Jan 14, 5:04 pm, Ruby Student <ruby.stud...@gmail.com> wrote:

[Note: parts of this message were removed to make it a legal post.]

On Wed, Jan 14, 2009 at 5:50 AM, Robert Klemme > <shortcut...@googlemail.com>wrote:

> 2009/1/13 Ruby Student <ruby.stud...@gmail.com>:
> > 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

> --
> remember.guy do |as, often| as.you_can - without end

> 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

--
Luis Lavena