ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
370 stars 83 forks source link

Rails server does not connect to the database server on Mac OS Mojave #160

Closed kattak2k closed 5 years ago

kattak2k commented 5 years ago

Hi Team, I'm not sure If this is an issue with VSCode editor or the OSX or gem. After I installed the new OS version, I'm can run the server but webpage does not load as It is not connecting to the database I guess please see logs below, the workers keep failing.

and when I just run the rails server without using ruby-debug-ide, the app just works fine without having any issues.

I've tried reinstalling 'puma', '~> 3.12' and rake ,'~> 11.2', '>= 11.2.2', but nothing helped.


=> Rails 4.2.4 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[5031] Puma starting in cluster mode...
[5031] * Version 3.12.0 (ruby 2.3.3-p222), codename: Llamas in Pajamas
[5031] * Min threads: 1, max threads: 10
[5031] * Environment: development
[5031] * Process workers: 1
[5031] * Preloading application
[5031] * Listening on tcp://localhost:3000
[5031] Use Ctrl-C to stop
[5031] - Worker 0 (pid: 5037) booted, phase: 0

Started GET "/users/sign_in" for ::1 at 2018-11-19 21:27:54 -0500
  ActiveRecord::SchemaMigration Load (3.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
[5031] ! Terminating timed out worker: 5037
[5031] - Worker 0 (pid: 5079) booted, phase: 0

Started GET "/users/sign_in" for ::1 at 2018-11-19 21:28:55 -0500
  ActiveRecord::SchemaMigration Load (0.8ms)  SELECT "schema_migrations".* FROM "schema_migrations"
[5031] ! Terminating timed out worker: 5079
[5031] - Worker 0 (pid: 5111) booted, phase: 0
kattak2k commented 5 years ago

Issue resolved by installing new beta versions ruby-debug-ide 0.7.0.beta6, debase 0.2.3.beta2