Ruby 1.9 migration problem on Windows

Hi,

I have an application, which currently runs under ruby 1.8.6. I want to
adopt the new interpreter to get the syntax improvements and speed.

I downloaded the ruby 1.9 zip-archive and unpacked to c:\ruby1.9. Then I
changed the path entry for ruby from c:\ruby\bin to c:\ruby1.9\bin.

When running IRB I get an error concerning missing readline.dll. I found
readline.dll in the bin folder of a zip file at
http://jarp.does.notwork.org/win32/. Now IRB runs fine.

Next I do gem install sequel, which apparently completes with success
(no error messages) though I need to get zlib.dll from the same site.

However when loading it up I get:

C:>irb -r sequel
c:/ruby1.9/lib/ruby/1.9.0/irb/init.rb:250:in require': no such file to load -- sequel (LoadError) from c:/ruby1.9/lib/ruby/1.9.0/irb/init.rb:250:in block in
load_modules

from c:/ruby1.9/lib/ruby/1.9.0/irb/init.rb:248:in each' from c:/ruby1.9/lib/ruby/1.9.0/irb/init.rb:248:in load_modules’
from c:/ruby1.9/lib/ruby/1.9.0/irb/init.rb:21:in setup' from c:/ruby1.9/lib/ruby/1.9.0/irb.rb:54:in start’
from c:/ruby1.9/bin/irb.bat:21:in `’

I noticed that a folder appeared c:\LAN, which looks like:
C:\LAN
└───ruby-1.9.0-0
├───bin
└───lib
└───ruby
├───gems
│ └───1.9.0

A bit puzzled (gems should be installed under c:\ruby1.9 right?) I try
to update rubygems using gem update --system, only to get:
C:>gem update --system
Updating RubyGems…
Attempting remote update of rubygems-update
Successfully installed rubygems-update-1.1.1
1 gem installed
Updating version of RubyGems to 1.1.1
Installing RubyGems 1.1.1
‘C:/LAN/ruby-1.9.0-0/bin/ruby.exe’ is not recognized as an internal or
external
command,
operable program or batch file.

Here is my path:
C:>path
PATH=C:\Program Files\MiKTeX
2.7\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WI
NDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program
Files\TortoiseSVN
\bin;c:\ruby1.9\bin;C:\Program Files\jEdit;C:\Program
Files\Java\jdk1.6.0_05\bin

Can you please give me a hint here? :slight_smile:

Kind regards
Andreas W.