Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Ruby 1.9 migration problem on Windows
Andreas Warberg
5/30/2008 11:58:00 AM
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....
. 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:\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 Warberg
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Ruby 1.9 migration problem on Windows
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password