yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] build: install-gem forced to "--local" domain
@ 2016-02-02  1:49 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-02-02  1:49 UTC (permalink / raw)
  To: yahns-public

This avoids needless network traffic when installing
the locally-built gem.
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 99dcdc3..2cd9079 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -53,7 +53,7 @@ fix-perms:
 gem: $(pkggem)
 
 install-gem: $(pkggem)
-	gem install $(CURDIR)/$<
+	gem install --local $(CURDIR)/$<
 
 $(pkggem): .gem-manifest
 	VERSION=$(VERSION) gem build $(pkg).gemspec
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-02  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02  1:49 [PATCH] build: install-gem forced to "--local" domain Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/yahns.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).