Add Trilogy adapter
This commit is contained in:
committed by
Mike Dalessio
parent
dc40d2b5b0
commit
9fa68c0ea9
@@ -19,6 +19,7 @@ gem "solid_cache", "~> 1.0"
|
||||
gem "solid_queue", "~> 1.2"
|
||||
gem "sqlite3", ">= 2.0"
|
||||
gem "thruster", require: false
|
||||
gem "trilogy", "~> 2.9"
|
||||
|
||||
# Features
|
||||
gem "bcrypt", "~> 3.1.7"
|
||||
|
||||
@@ -514,6 +514,7 @@ GEM
|
||||
thruster (0.1.16-x86_64-darwin)
|
||||
thruster (0.1.16-x86_64-linux)
|
||||
timeout (0.4.4)
|
||||
trilogy (2.9.0)
|
||||
tsort (0.2.0)
|
||||
turbo-rails (2.0.20)
|
||||
actionpack (>= 7.1.0)
|
||||
@@ -628,6 +629,7 @@ DEPENDENCIES
|
||||
sqlite3 (>= 2.0)
|
||||
stimulus-rails
|
||||
thruster
|
||||
trilogy (~> 2.9)
|
||||
turbo-rails
|
||||
vcr
|
||||
web-console
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
set -eo pipefail
|
||||
|
||||
# Prefer app executables
|
||||
app_root="$(cd "$(dirname "$0")/.."; pwd)"
|
||||
app_root="$(
|
||||
cd "$(dirname "$0")/.."
|
||||
pwd
|
||||
)"
|
||||
export PATH="$app_root/bin:$PATH"
|
||||
|
||||
# Install gum if needed
|
||||
@@ -56,7 +59,7 @@ step "Installing Ruby" mise install --yes
|
||||
eval "$(mise hook-env)"
|
||||
|
||||
if which pacman >/dev/null 2>&1; then
|
||||
packages=(imagemagick openslide libvips)
|
||||
packages=(imagemagick mariadb-libs openslide libvips)
|
||||
if ! pacman -Q "${packages[@]}" >/dev/null 2>&1; then
|
||||
step "Installing packages" sudo pacman -S --noconfirm --needed "${packages[@]}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user