Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Ruby 1.9 migration problem on Windows

Reply
Thread Tools

Ruby 1.9 migration problem on Windows

 
 
Andreas Warberg
Guest
Posts: n/a
 
      05-30-2008
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 `<main>'

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:\W I
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 Warberg
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding python2.5 migration from windows xp to windows 7 python_tsp Python 2 10-14-2010 10:19 PM
Migration windows and exchange Andrea Racca Windows 64bit 2 10-14-2007 01:45 PM
Migration to BSD/Open source from Windows thing2 NZ Computing 10 10-27-2005 05:09 AM
C++ programming migration from DOS to Windows cat_dog_ass C++ 32 03-06-2005 07:33 PM
C++ programming migration from DOS to Windows cat_dog_ass C++ 1 03-02-2005 10:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57