Skip to content

Commit

Permalink
Don't use apt to install ruby or ruby-bundler
Browse files Browse the repository at this point in the history
Co-authored-by: Seth Boyles <[email protected]>
Co-authored-by: Carson Long <[email protected]>
  • Loading branch information
sethboyles and ctlong committed Dec 7, 2020
1 parent 815d85c commit 2c893f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install-scripts/bundler.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#/bin/bash

if ! which bundle > /dev/null; then
if [[ ! $(which bundle) ]] || [[ "$(bundle -v)" != "Bundler version 1.17.3" ]]; then
echo "Installing bundler"
gem install bundler -v 1.17.3
fi
4 changes: 1 addition & 3 deletions install-scripts/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ echo "Upgrading Linux distribution"
sudo apt dist-upgrade -y

sudo apt install -y \
ruby \
python-pip \
python-setuptools \
mysql-server \
Expand All @@ -14,8 +13,7 @@ sudo apt install -y \
libpq-dev \
libffi-dev \
build-essential \
libxslt-dev \
ruby-bundler
libxslt-dev
# install linux only dependencies here
# Install lastpass-cli from source (the Ubuntu package is broken)
echo "Installing lastpass-cli from source"
Expand Down

0 comments on commit 2c893f7

Please sign in to comment.