Max Williams wrote:
> I have a gem (thoth-0.3.0) on my server which has had a few changes made
> to it over time (by me).  I'm happy with how it works and have no desire
> to update it.  I now need to install a copy of that gem on my local
> machine so i can develop knowing that what i do will work the same on
> the server.  I can't just install it as normal as it's out of sync with
> the 'official' version.
> 
> Can i just zip up the server's thoth-0.3.0 folder, scp it over and then
> untar it into my gems folder?  Or does it need to be properly installed?
> if so, what's the best process for this?

Run 'gem server' on your server, and then specify it as the source from 
which to install the gem on the local box.  However, If you're using a 
modified gem, you should rename it and/or package it within your source 
repo (for example, in Rails, put it in vendor/gems).  Otherwise, you 
defeat the point of having a package system like rubygems.
> 
> thanks
> max

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org

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