From: 7stud -- Date: 2008-02-01T07:37:14+09:00 Subject: Re: how do you install a local gem? Stefano Crocco wrote: > Alle Thursday 31 January 2008, 7stud -- ha scritto: >> I get the error: >> >> $ 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 > /Users/me/Desktop/wxruby-1.9.4-universal-darwin.gem.tar > > 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 Thanks for the response. This is the file I downloaded: http://rubyforge.org/frs/download.php/30865/wxruby-1.9.4.tar.gz I think OS X automatically unzips a file after I download it producing: /Users/me/Desktop/wxruby-1.9.4-universal-darwin.gem.tar -- Posted via http://www.ruby-forum.com/.