前提・実現したいこと
ここに質問の内容を詳しく書いてください。
rails s -dでそのままにしていたことが問題と思いますが、色々試しても上手くいきません。
発生している問題・エラーメッセージ
=> Booting Puma => Rails 5.2.3 application starting in development => Run `rails server -h` for more startup options Exiting Traceback (most recent call last): 79: from bin/rails:3:in `<main>' 78: from bin/rails:3:in `load' 77: from /home/ec2-user/environment/profile-site/bin/spring:15:in `<top (required)>' 76: from /home/ec2-user/environment/profile-site/bin/spring:15:in `require' 75: from /home/ec2-user/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>' . . . 2: from /home/ec2-user/.rvm/gems/ruby-2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load' 1: from /home/ec2-user/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load' /home/ec2-user/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load': /home/ec2-user/environment/profile-site/config/routes.rb:2: syntax error, unexpected tIDENTIFIER, expecting end (SyntaxError) get "/profile" to:"/profiles#index" ^~
試したこと
ps ax | grep railsからkillを行うと
bash: kill: () - No such process
このように表示されます。