Various problems after installing ruby 1.9.1

R

Ruby Student

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

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!
 
R

Robert Klemme

2009/1/13 Ruby Student said:
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
 
R

Ruby Student

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

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

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
 
L

Luis Lavena

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

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

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

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/installing-ruby-1-8-7-and-other-stuffs-manually
http://www.garbagecollect.jp/ruby/mswin32/en/documents/

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top