# Gem headache

**URL:** <https://www.ruby-forum.com/t/gem-headache/93213>\
**Category:** Ruby\
**Created:** [April 29, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/gem-headache/93213 "2007-04-29T12:47:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b2d939/32.png) [@fero](https://www.ruby-forum.com/u/fero)\
**Post date:** [April 29, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/gem-headache/93213/1 "2007-04-29T12:47:59Z")

</div>

hello. please help, i cannot install gem from local .gem file:

gem install rmagick-1.14.1-win32 --local --install-dir c:/TEMP  
ERROR: Local gem file not found: rmagick-1.14.1-win32\*.gem  
ERROR: Could not install a local or remote copy of the gem:  
rmagick-1.14.1-win32

but the file IS in specified directory. what should I do? please help.

fero.

---

<div class="post-metadata">

**Author:** ![fero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b2d939/32.png) [@fero](https://www.ruby-forum.com/u/fero)\
**Post date:** [April 29, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/gem-headache/93213/2 "2007-04-29T14:03:49Z")

</div>

On 4/29/07, Fero [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> gem install rmagick-1.14.1-win32 --local --install-dir c:/TEMP  
> ERROR: Local gem file not found: rmagick-1.14.1-win32\*.gem  
> ERROR: Could not install a local or remote copy of the gem:  
> rmagick-1.14.1-win32

Can’t you just do

gem install

with the full filename?

Mike

---

<div class="post-metadata">

**Author:** ![fero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b2d939/32.png) [@fero](https://www.ruby-forum.com/u/fero)\
**Post date:** [April 29, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/gem-headache/93213/3 "2007-04-29T18:27:20Z")

</div>

Michael P. Soulier wrote:

> On 4/29/07, Fero [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > gem install rmagick-1.14.1-win32 --local --install-dir c:/TEMP  
> > ERROR: Local gem file not found: rmagick-1.14.1-win32\*.gem  
> > ERROR: Could not install a local or remote copy of the gem:  
> > rmagick-1.14.1-win32
> 
> Can’t you just do
> 
> gem install
> 
> with the full filename?
> 
> Mike

i have tried it, there is no such file in rubyforge repository. i must  
download the .gem an install it localy. but i cant do that. what is  
wrong?

---

<div class="post-metadata">

**Author:** ![fero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b2d939/32.png) [@fero](https://www.ruby-forum.com/u/fero)\
**Post date:** [April 29, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/gem-headache/93213/4 "2007-04-29T19:06:18Z")

</div>

Frantisek P. wrote:

> >

RMagick-1.14.1\_IM-6.3.0-7-Q8.zip is a zip file that contains both the  
rmagick-win32 gem and the Windows installer for ImageMagick. Download  
the zip file and unzip it into a temporary directory. Use the chdir  
command to make the temporary directory your current directory. Run the  
ImageMagick-6.3.0-7-Q8-windows-dll.exe command to install ImageMagick.  
Then run

gem install rmagick --local

That’s it.

All this information is in the README.html file that is included in the  
.zip file.

---

<div class="post-metadata">

**Author:** ![fero](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b2d939/32.png) [@fero](https://www.ruby-forum.com/u/fero)\
**Post date:** [April 29, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/gem-headache/93213/5 "2007-04-29T21:02:26Z")

</div>

yes, really thank you. i was confused, because when i explicitely  
(–install-dir) type directory, it failed (why?), so i didnt come up on  
such trivial solution.
