rubyzip problem

D

DaZoner

I'm trying to install rubyzip 0.5.7 on my XP machine (One Click Installed
Ruby 1.8.2-14) from the provided install.rb and I'm getting the error below.
The file exists in the lib\zip subdir beneath install.rb and not in the zip
subdir where its looking for it. Anyone know who deals with rubyzip?


C:\temp\rubyzip\rubyzip-0.5.7>install.rb

C:/temp/rubyzip/rubyzip-0.5.7/zip/stdrubyext.rb ->
c:/ruby/lib/ruby/site_ruby/1.8/zip/stdrubyext.rb
c:/ruby/lib/ruby/1.8/ftools.rb:62:in `stat': No such file or directory -
C:/temp/rubyzip/rubyzip-0.5.7/zip/stdrubyext.rb (Errno::ENOENT)
from c:/ruby/lib/ruby/1.8/ftools.rb:62:in `syscopy'
from c:/ruby/lib/ruby/1.8/ftools.rb:92:in `cp'
from c:/ruby/lib/ruby/1.8/ftools.rb:248:in `install'
from C:/temp/rubyzip/rubyzip-0.5.7/install.rb:21
from C:/temp/rubyzip/rubyzip-0.5.7/install.rb:18:in `each'
from C:/temp/rubyzip/rubyzip-0.5.7/install.rb:18
 
T

Thomas Sondergaard

Sigh, I forgot to update install.rb after reorganizing the directory
structure. I can't think of a good excuse, really.

Just change the following line in install.rb:

SOURCE_DIR = File.join(File.dirname($0), "zip")

to

SOURCE_DIR = File.join(File.dirname($0), "lib/zip")

Or install the gem:

gem install rubyzip

Sorry about the inconvenience.

Thomas
 

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

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top