From 39698cd32fb1648bb949a2e8b6e74ac5338d0ab3 Mon Sep 17 00:00:00 2001 From: Kris Forbes Date: Mon, 20 Apr 2026 10:05:16 -0400 Subject: [PATCH] Fix puma start command and add sinatra-activerecord --- Gemfile | 1 + entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index cd6ccd1..2c59d9a 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,7 @@ source 'https://rubygems.org' gem 'sinatra' gem 'sinatra-contrib' +gem 'sinatra-activerecord' gem 'activerecord', '~> 7.1' gem 'sqlite3', '~> 1.6' gem 'bcrypt' diff --git a/entrypoint.sh b/entrypoint.sh index f783c34..283cf2a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,4 @@ set -e mkdir -p db # Puma will run app.rb which auto-migrates the database -exec bundle exec puma -C config.ru -b tcp://0.0.0.0:4567 +exec bundle exec puma config.ru -b tcp://0.0.0.0:4567