olddoc user/dev discussion/patches/bugs/etc
 help / color / mirror / code / Atom feed
* [PATCH] build: avoid network usage in "install-gem" target
@ 2016-12-02 21:14 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-12-02 21:14 UTC (permalink / raw)
  To: olddoc-public

Installing a locally-built gem should not require network
access in this developer-oriented makefile target.
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 1e07a44..038bc25 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -48,7 +48,7 @@ doc: $(placeholders)
 gem: $(pkggem)
 
 install-gem: $(pkggem)
-	gem install $(CURDIR)/$<
+	gem install --local $(CURDIR)/$<
 
 $(pkggem): fix-perms .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-12-02 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-02 21:14 [PATCH] build: avoid network usage in "install-gem" target Eric Wong

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

	https://80x24.org/olddoc.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).