前提・実現したいこと
railsアプリケーションをgit cloneしたのちにbundle installなどを行い、
foreman startでサーバーを立てようとすると勝手にサーバーが閉じてしまいます。
ここに質問の内容を詳しく書いてください。
foreman startでサーバーを立てるにはどうすれば良いでしょうか?
発生している問題・エラーメッセージ
ソースコード
Gemfile
1source 'https://rubygems.org' 2git_source(:github) { |repo| "https://github.com/#{repo}.git" } 3 4ruby '2.7.2' 5 6# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 7gem 'rails', '~> 6.0.3', '>= 6.0.3.1' 8# Use postgresql as the database for Active Record 9gem 'pg', '>= 0.18', '< 2.0' 10# Use Puma as the app server 11gem 'puma', '= 4.3.3' 12# Use SCSS for stylesheets 13gem 'sass-rails', '>= 6' 14# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker 15gem 'webpacker', '~> 4.0' 16# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 17gem 'turbolinks', '~> 5' 18# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 19gem 'jbuilder', '~> 2.7' 20# Use Redis adapter to run Action Cable in production 21# gem 'redis', '~> 4.0' 22# Use Active Model has_secure_password 23# gem 'bcrypt', '~> 3.1.7' 24 25# Use Active Storage variant 26# gem 'image_processing', '~> 1.2' 27 28# Reduces boot times through caching; required in config/boot.rb 29gem 'bootsnap', '>= 1.4.2', require: false 30 31group :development, :test do 32 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 33 gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] 34end 35 36group :development do 37 # Access an interactive console on exception pages or by calling 'console' anywhere in the code. 38 gem 'web-console', '>= 3.3.0' 39 gem 'listen', '~> 3.2' 40 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 41 gem 'spring' 42 gem 'spring-watcher-listen', '~> 2.0.0' 43 gem "foreman" 44end 45 46group :test do 47 # Adds support for Capybara system testing and selenium driver 48 gem 'capybara', '>= 2.15' 49 gem 'selenium-webdriver' 50 # Easy installation and use of web drivers to run system tests with browsers 51 gem 'webdrivers' 52end 53 54# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 55gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 56 57 58gem "devise" 59 60gem 'omniauth-line', :github => 'gomo/omniauth-line' 61 62gem 'faker' 63 64gem 'rqrcode' 65gem 'rqrcode_png' 66gem 'chunky_png' 67 68gem 'react-rails' 69 70gem "mechanize" 71 72gem 'carrierwave' 73gem 'rmagick' 74gem 'fog' 75 76gem 'aws-sdk' 77gem 'dotenv-rails' 78 79gem "nio4r" 80 81gem 'activerecord-nulldb-adapter' 82 83gem "sassc", '~>2.1.0' 84 85gem 'line-bot-api'
補足情報(FW/ツールのバージョンなど)
ruby 2.7.2
あなたの回答
tips
プレビュー