From 50df810e6763e74b3da9a7c294c9fbc0b65b9c5c Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 25 Aug 2019 20:29:32 -0500 Subject: [PATCH] gems: drop foreman gem. Foreman is unmaintained and locked to a really old version of thor, which prevents upgrading to Rails 6. The Procfile can still be used by manually installing Foreman with `gem install foreman`. This is what Foreman's README recommends anyway. --- Gemfile | 1 - Gemfile.lock | 3 --- bin/foreman | 29 ----------------------------- 3 files changed, 33 deletions(-) delete mode 100755 bin/foreman diff --git a/Gemfile b/Gemfile index 66878a992..930b4991e 100644 --- a/Gemfile +++ b/Gemfile @@ -75,7 +75,6 @@ group :development, :test do gem 'pry-byebug' gem 'pry-rails' gem 'pry-inline' - gem 'foreman' gem 'listen' end diff --git a/Gemfile.lock b/Gemfile.lock index 9058bebeb..bfb4ca41d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -143,8 +143,6 @@ GEM ffi-win32-extensions (1.0.3) ffi flamegraph (0.9.5) - foreman (0.85.0) - thor (~> 0.19.1) get_process_mem (0.2.4) ffi (~> 1.0) globalid (0.4.2) @@ -465,7 +463,6 @@ DEPENDENCIES factory_bot ffaker flamegraph - foreman google-api-client httparty jquery-rails diff --git a/bin/foreman b/bin/foreman deleted file mode 100755 index 45c086350..000000000 --- a/bin/foreman +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'foreman' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 150) =~ /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("foreman", "foreman")