From: Stefano Crocco Date: 2008-02-01T07:10:28+09:00 Subject: Re: how do you install a local gem? Alle Thursday 31 January 2008, 7stud -- ha scritto: > Hi, > > I downloaded the file: > > wxruby-1.9.4-universal-darwin.gem.tar > > How do I install that? When I try to untar it with this command: > > tar -xvf /Users/me/Desktop/wxruby-1.9.4-universal-darwin.gem.tar > > I get the error: > > data.tar.gz > tar: Read 3501 bytes from > /Users/autie/Desktop/wxruby-1.9.4-universal-darwin.gem.tar > tar: Unexpected EOF in archive > tar: Unexpected EOF in archive > tar: Error is not recoverable: exiting now > > And even if I did untar it, I don't know how to install it. I install a > remote gem like this: > > $ gem install -r wxruby > > If it is a local file, do I just cd to the directory the file is in and > type: > > $ gem install wxruby > > ??? In linux, you simply do: gem install gem_file.gem What I find strange is the name of the file you downloaded, since the extension should be .gem, not .gem.tar. Did you get it from rubyforge? From the rubyforge wxruby page, I could download a file called wxruby-1.9.4-universal-darwin.gem Of course, being on linux, I can't try to install it. I hope this helps Stefano