Skip to content
Snippets Groups Projects
gem-update.sh 327 B
Newer Older
#!/bin/bash
cd "$(dirname "$0")"
set -ex
docker run -it -v "$(pwd)":/app \
Tom Mason's avatar
Tom Mason committed
  -v /usr/local/bundle:/usr/local/bundle ruby:3.2 sh \
  -c "apt-get update; \
      apt-get install -y cmake build-essential; \
      cd /app; \
Tom Mason's avatar
Tom Mason committed
      gem install bundler:2.4.5; \
      bundle outdated; \
      bundle update; \
      bundle install;"