Getting “cannot load such file — rack/handler/--debugger (LoadError)” when trying to start Rails server in debug mode
问题 I'm using Rails 5 and Ruby 2.4. I want to start my server in debug mode so that I can debug in my IDE (Aptana Studio). I tried the below but get the error ... localhost:ruby-angular-app davea$ rails server --debugger Exiting /Users/davea/.rvm/gems/ruby-2.4.0/gems/rack-2.0.7/lib/rack/handler.rb:74:in `require': cannot load such file -- rack/handler/--debugger (LoadError) from /Users/davea/.rvm/gems/ruby-2.4.0/gems/rack-2.0.7/lib/rack/handler.rb:74:in `try_require' from /Users/davea/.rvm/gems