diff --git a/Gemfile b/Gemfile index 19ee4a2..908279e 100644 --- a/Gemfile +++ b/Gemfile @@ -27,6 +27,7 @@ group :development, :test do end group :development do + gem 'overmind' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 5db9335..2677137 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -206,6 +206,11 @@ GEM racc (~> 1.4) nokogiri (1.16.3-x86_64-linux) racc (~> 1.4) + overmind (2.5.1) + overmind (2.5.1-arm-linux) + overmind (2.5.1-arm64-darwin) + overmind (2.5.1-x86-linux) + overmind (2.5.1-x86_64-darwin) paco (0.2.3) parser (3.3.0.5) ast (~> 2.4.1) @@ -345,6 +350,7 @@ DEPENDENCIES grpc (~> 1.37) jsbundling-rails nanoid + overmind propshaft puma (~> 6.0) rails (~> 7.1.0) diff --git a/bin/dev b/bin/dev new file mode 100755 index 0000000..1aae640 --- /dev/null +++ b/bin/dev @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bin/overmind start -f Procfile.dev diff --git a/bin/overmind b/bin/overmind new file mode 100755 index 0000000..cb36558 --- /dev/null +++ b/bin/overmind @@ -0,0 +1,27 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'overmind' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) + +bundle_binstub = File.expand_path("bundle", __dir__) + +if File.file?(bundle_binstub) + if File.read(bundle_binstub, 300).include?("This file was generated by Bundler") + load(bundle_binstub) + else + abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. +Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") + end +end + +require "rubygems" +require "bundler/setup" + +load Gem.bin_path("overmind", "overmind")