Forum: Ruby Various problems after installing ruby 1.9.1

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
64a808c19ac542b14c4021dcb9484a37?d=identicon&s=25 Ruby Student (Guest)
on 2009-01-13 18:24
(Received via mailing list)
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!
E0d864d9677f3c1482a20152b7cac0e2?d=identicon&s=25 Robert Klemme (Guest)
on 2009-01-14 11:53
(Received via mailing list)
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
64a808c19ac542b14c4021dcb9484a37?d=identicon&s=25 Ruby Student (Guest)
on 2009-01-14 20:05
(Received via mailing list)
On Wed, Jan 14, 2009 at 5:50 AM, Robert Klemme
<shortcutter@googlemail.com>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
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2009-01-14 21:00
(Received via mailing list)
On Jan 14, 5:04 pm, Ruby Student <ruby.stud...@gmail.com> wrote:
>
> variables were properly set.
> Thank you
>

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://stackoverflow.com/questions/390897/installi...
http://www.garbagecollect.jp/ruby/mswin32/en/documents/

HTH,
This topic is locked and can not be replied to.