# Ruby 1.9 migration problem on Windows

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-migration-problem-on-windows/139051>\
**Category:** Ruby\
**Created:** [May 30, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/ruby-1-9-migration-problem-on-windows/139051 "2008-05-30T13:54:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awarberg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b5ac83/32.png) [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Post date:** [May 30, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/ruby-1-9-migration-problem-on-windows/139051/1 "2008-05-30T13:54:24Z")

</div>

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/](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? 🙂

Kind regards  
Andreas W.
