diff --git a/Gemfile b/Gemfile index db9f310..9e4367c 100644 --- a/Gemfile +++ b/Gemfile @@ -27,7 +27,7 @@ group :development do gem "rubocop-performance", require: false gem "rubocop-rails", ">= 2.22.0", require: false gem "web-console" - gem "foreman", "~> 0.88.1" + gem "overmind", "~> 2.5.1" gem "erb_lint", "~> 0.5", require: false gem "bundler-audit", require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 11445ad..9e86191 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -122,7 +122,6 @@ GEM factory_bot_rails (6.4.3) factory_bot (~> 6.4) railties (>= 5.0.0) - foreman (0.88.1) fugit (1.9.0) et-orbi (~> 1, >= 1.2.7) raabro (~> 1.4) @@ -179,6 +178,11 @@ GEM racc (~> 1.4) nokogiri (1.16.4-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) parallel (1.24.0) parser (3.3.0.5) ast (~> 2.4.1) @@ -318,9 +322,9 @@ DEPENDENCIES dotenv (>= 3.0) erb_lint (~> 0.5) factory_bot_rails - foreman (~> 0.88.1) jbuilder letter_opener + overmind (~> 2.5.1) pg (~> 1.1) puma (>= 5.0) rails (~> 7.1.3, >= 7.1.3.2) diff --git a/bin/dev b/bin/dev index a4e05fa..f022743 100755 --- a/bin/dev +++ b/bin/dev @@ -1,11 +1,11 @@ #!/usr/bin/env sh -if ! gem list foreman -i --silent; then - echo "Installing foreman..." - gem install foreman +if ! gem list overmind -i --silent; then + echo "Installing overmind..." + gem install overmind fi # Default to port 3000 if not specified export PORT="${PORT:-3000}" -exec foreman start -f Procfile.dev "$@" +exec overmind start -f Procfile.dev "$@"