ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Copy current state of gem on server to my local machine
by Marnen Laibow-Koser other posts by this author
Nov 7 2009 12:52PM messages near this date
Copy current state of gem on server to my local machine | Re: Copy current state of gem on server to my local machine
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@[...].org

-- 
Posted via http://www.ruby-forum.com/.
Thread:
Max Williams
Marnen Laibow-Koser
Max Williams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved