Hashar has submitted this change and it was merged.

Change subject: shell wrapper setting GEM_PATH properly
......................................................................


shell wrapper setting GEM_PATH properly

Change-Id: Ie52545445c6b52c215809d7763a6af16dd5b16a4
---
M README
A bundle
2 files changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Verified; Looks good to me, approved



diff --git a/README b/README
index 0f50369..21efe74 100644
--- a/README
+++ b/README
@@ -9,3 +9,5 @@
 To run:
 
   GEM_PATH=`pwd` ./bin/bundle  --version
+
+Or use our shell wrapper /bundle
diff --git a/bundle b/bundle
new file mode 100755
index 0000000..7734499
--- /dev/null
+++ b/bundle
@@ -0,0 +1,4 @@
+#!/bin/bash
+# Wikimedia wrapper around Gem wrapper for bundler
+BASE_DIR=$(dirname $0)
+GEM_PATH="$BASE_DIR" exec "$BASE_DIR/bin/bundle" "$@"

-- 
To view, visit https://gerrit.wikimedia.org/r/87090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie52545445c6b52c215809d7763a6af16dd5b16a4
Gerrit-PatchSet: 1
Gerrit-Project: integration/bundler
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to