aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-14 17:23:23 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-14 17:23:35 -0500
commit39b3eb34c24167de057c2a408e80ffa0eb281028 (patch)
tree2909814ad1a490567ee48a031994eb2d40e6acd8
parent0798ad3a3a071db1b647df5aecd7698ed9aff7d9 (diff)
downloadrneovim-39b3eb34c24167de057c2a408e80ffa0eb281028.tar.gz
rneovim-39b3eb34c24167de057c2a408e80ffa0eb281028.tar.bz2
rneovim-39b3eb34c24167de057c2a408e80ffa0eb281028.zip
ci: Install gem binaries to ~/.local/bin
That directory is already part of `$PATH`, so let's reuse it instead of trying to figure what version-specific path binaries gem normally uses.
-rw-r--r--.travis.yml1
-rwxr-xr-xci/install.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 715109f71f..aad9b38934 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@ env:
# 4. Undo changes to .travis.yml
- secure: hd0qn2u8ABbJg5Bx4pBRcUQbKYFmcSHoecyHIPTCnGJT+NI41Bvm/IkN/N5DhBF+LbD3Q2nmR/dzI5H/dqS7RxMFvEx1DuFLendFHHX3MYf0AuKpXYY3gwgMTmqx8p/v6srlU7RBGWNGzHCWqksAem+EIWCe3I7WvfdKo1/DV/Y=
+ - PATH="$HOME/.local/bin:$PATH"
# Set "false" to force rebuild of third-party dependencies.
- CACHE_ENABLE=true
# Build directory for Neovim.
diff --git a/ci/install.sh b/ci/install.sh
index cd0d744361..ebbd820d9f 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -19,7 +19,7 @@ echo "Install neovim module for Python 2."
CC=cc python2 -m pip -q install --user --upgrade pynvim
echo "Install neovim RubyGem."
-gem install --no-document --user-install --pre neovim
+gem install --no-document --bindir "$HOME/.local/bin" --user-install --pre neovim
echo "Install neovim npm package"
source ~/.nvm/nvm.sh