aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-03-31 10:51:22 +0200
committerTobias Brunner <tobias@strongswan.org>2015-05-21 17:22:11 +0200
commite94aae83d3292a45626f15d121366d21c687e7ad (patch)
tree69947831b117ec76e3eb909e4da82b6b64c18fbf
parentf16f792e17c2b9704e319f17da7d20c201b74141 (diff)
downloadstrongswan-e94aae83d3292a45626f15d121366d21c687e7ad.tar.bz2
strongswan-e94aae83d3292a45626f15d121366d21c687e7ad.tar.xz
vici: Explicitly disable --user-install when installing Ruby Gem
Only one of `--user-install` and `--install-dir` may be set and if `--user-install` is the default on a system installation will fail unless we disable it explicitly. Fixes #914.
-rw-r--r--src/libcharon/plugins/vici/ruby/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/vici/ruby/Makefile.am b/src/libcharon/plugins/vici/ruby/Makefile.am
index a66a66219..e2d340431 100644
--- a/src/libcharon/plugins/vici/ruby/Makefile.am
+++ b/src/libcharon/plugins/vici/ruby/Makefile.am
@@ -17,7 +17,7 @@ clean-local:
if RUBY_GEMS_INSTALL
install-data-local: vici-$(PACKAGE_VERSION).gem
- $(GEM) install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
+ $(GEM) install --no-user-install --install-dir $(DESTDIR)$(RUBYGEMDIR) \
vici-$(PACKAGE_VERSION).gem
uninstall-local: