TestRoots / watchdog

IntelliJ & Eclipse plugin for monitoring how Java applications are developed and tested
http://www.testroots.org
Other
18 stars 10 forks source link

Fix start of server and add developer documentation #277

Closed TimvdLippe closed 6 years ago

TimvdLippe commented 6 years ago

Apparently the Ruby server was not working when you actually used it, even though the tests were passing. I have also added documentation for new developers as this was missing and I had to figure out how to actually run the server myself :stuck_out_tongue:

Inventitech commented 6 years ago

Apparently the Ruby server was not working when you actually used it,

?

TimvdLippe commented 6 years ago

If you would run ./start_server.sh and go to localhost, it would throw an UnknownMethodError. Apparently there was a breaking change in the way the Ruby driver authenticated the user to the database after upgrading from 1.5.1 to 2.0 (in one of my earlier PRs to fix Travis). Therefore, we have to put the authentication in the Mongo::Client constructors, rather than the non-existing db.initialize method.