Skip to content

Commit

Permalink
Use overmind
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Apr 5, 2024
1 parent e87c7c7 commit d3d6d73
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ group :development, :test do
end

group :development do
gem 'overmind'
end

group :test do
Expand Down
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -345,6 +350,7 @@ DEPENDENCIES
grpc (~> 1.37)
jsbundling-rails
nanoid
overmind
propshaft
puma (~> 6.0)
rails (~> 7.1.0)
Expand Down
3 changes: 3 additions & 0 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

bin/overmind start -f Procfile.dev
27 changes: 27 additions & 0 deletions bin/overmind
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit d3d6d73

Please sign in to comment.