[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem headache

Frantisek Psotka

4/29/2007 10:48:00 AM

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.

--
Posted via http://www.ruby-....

4 Answers

Michael P. Soulier

4/29/2007 12:03:00 PM

0

On 4/29/07, Fero <Frantisek.Psotka@matfyz.cz> 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 <filename>

with the full filename?

Mike
--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Frantisek Psotka

4/29/2007 4:27:00 PM

0

Michael P. Soulier wrote:
> On 4/29/07, Fero <Frantisek.Psotka@matfyz.cz> 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 <filename>
>
> 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?

--
Posted via http://www.ruby-....

Tim Hunter

4/29/2007 5:06:00 PM

0

Frantisek Psotka wrote:
> Michael P. Soulier wrote:
>
>> On 4/29/07, Fero <Frantisek.Psotka@matfyz.cz> 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 <filename>
>>
>> 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?
>
>


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.

Frantisek Psotka

4/29/2007 7:02:00 PM

0

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.

--
Posted via http://www.ruby-....