Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Jan 25, 2024
2 parents 390c0f9 + 362ee58 commit 1bb6f10
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ jobs:
matrix:
mysql: ["5.7", "8"]
distribution: ["debian:buster", "ubuntu:focal", "ubuntu:bionic"]
ruby: ["3.2"]
ruby: ["3.3"]
include:
- mysql: "5.7"
distribution: "debian:buster"
ruby: "1.9"
- mysql: "5.7"
distribution: "debian:buster"
ruby: "2.8"
ruby: "2.7.8"
steps:
- uses: actions/checkout@v4
- name: docker login
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ARG DISTRIBUTION=ubuntu:jammy
ARG RUBY_VERSION=3.2
FROM ${DISTRIBUTION}
LABEL maintainer="github@github.com"

Expand All @@ -10,9 +9,10 @@ RUN update-ca-certificates
RUN wget https://github.com/postmodern/ruby-install/releases/download/v0.9.0/ruby-install-0.9.0.tar.gz && \
tar -xzvf ruby-install-0.9.0.tar.gz && \
cd ruby-install-0.9.0/ && \
make install && \
ruby-install --system ruby ${RUBY_VERSION}
make install

ARG RUBY_VERSION=3.2
RUN ruby-install --system ruby ${RUBY_VERSION}
RUN ruby --version

WORKDIR /app
Expand Down
5 changes: 3 additions & 2 deletions contrib/ruby/script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
set -e
cd "$(dirname $0)"/..

bundle check --path vendor/gems 2>&1 > /dev/null || {
bundle install --path vendor/gems "$@"
bundle config set --local path vendor/gems
bundle check 2>&1 > /dev/null || {
bundle install "$@"
bundle clean
}

Expand Down
Binary file added contrib/ruby/trilogy-2.7.0.gem
Binary file not shown.

0 comments on commit 1bb6f10

Please sign in to comment.