Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > rubyzip problem

Reply
Thread Tools

rubyzip problem

 
 
DaZoner
Guest
Posts: n/a
 
      03-16-2005

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


 
Reply With Quote
 
 
 
 
Thomas Sondergaard
Guest
Posts: n/a
 
      03-17-2005
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

"DaZoner" <(E-Mail Removed)> wrote in message news:<d1admo$a41$(E-Mail Removed)>...
> 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

 
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
Rubyzip problem on Vista? bdezonia@wisc.edu Ruby 1 04-21-2009 06:11 PM
rubyzip problem / question Dan Ruby 1 12-14-2006 08:33 AM
rubyzip problem with local header magic Robert Evans Ruby 3 09-30-2005 04:56 PM
Are there known issues with rubyzip on WIndows? James Britt Ruby 5 12-12-2004 12:33 PM
[ANN] rubyzip-0.5.0 Thomas Ruby 0 08-22-2003 05:07 PM



Advertisments