Forum: Ruby on Rails HOWTO install a download gem from a local directory.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9b650de07ee72a7d2e78fb5793ff2659?d=identicon&s=25 tdub (Guest)
on 2008-11-30 10:25
(Received via mailing list)
Aloha All,

I have downloaded many gems in .gem and .tar format from Rubyforge to
my dir /usr/local/src/gems/. However, I got the following error below
when executing "gem install mongrel-1.1.5.gem" or any other gems from
the dir above.

"ERROR:  could not find gem mongrel-1.1.5.gem locally or in a
repository"

I've notice that within the .gem folder there are two files
(data.tar.gz and metadata.gz). Hope that helps.

Here is my system layout:
Mac OS 10.5.5 client stock
Dir:   /usr/local/
  /usr/local/src/gems/all_the_download_gems
Installed: Ruby (1.8.7-p72) and Rubygems (1.3.1) to /usr/local/

Please help or point me in the right direction on HOWTO install a
download gem from a local directory.

Much mahalo in advance. -Tdub
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-11-30 10:27
(Received via mailing list)
On Nov 30, 3:26 am, tdub <tohnw...@gmail.com> wrote:
> Aloha All,
>
> I have downloaded many gems in .gem and .tar format from Rubyforge to
> my dir /usr/local/src/gems/. However, I got the following error below
> when executing "gem install mongrel-1.1.5.gem" or any other gems from
> the dir above.
>
Don't download them to /usr/local/src/gems.
Download them to somewhere like your home folder or the desktop and
then run
gem install path/to/the/file.gem

Fred
This topic is locked and can not be replied to.