--14dae9340773dd3fe604b18c1a73
Content-Type: text/plain; charset=UTF-8

I don't know much about Gem hosting, but don't you need a gem server to do
it?  I didn't think you could just map a directory to gem sources and have
it work.



-Nick Klauer


On Fri, Nov 11, 2011 at 10:55, Mario Ruiz <tcblues / gmail.com> wrote:

> This is my situation. I have one machine called mygemserver and I've
> created a folder that can be accessed with window explorer like this:
> \\mygemserver\builds\
> and like this: http://mygemserver/mygemserver/builds/
>
> Then I've created a folder inside builds and put in there my gems:
> MYGEM-2.7.0.0.gem
> MYGEM-3.0.0.0.gem
>
> Then I did this on command line from my computer:
>
> gem install builder
>
> gem generate_index -d \\mygemserver\builds\
>
> gem sources --add http://mygemsserver/mygemserver/builds/
>
> Everything without any error.
>
> Now when I run in command line from my computer:
> gem list MYGEM --remote
>
> it is there... but when I try
> gem install MYGEM
> or
> gem install MYGEM --remote
>
> it says: ERROR: Could not find gem MYGEM locally or in a repository
>
>
> Any idea what is wrong?
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

--14dae9340773dd3fe604b18c1a73--