-
Type: Bug
-
Resolution: Done
-
Priority: Blocker - P1
-
Affects Version/s: 2.1.0
-
Component/s: None
-
None
-
Environment:ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
Windows 10 (x64)
Mongod version 3.0.5
Trying to create a new Mongo client in a Windows environment using a URI results in an endless stream of "uninitialized constant Mongo::Socket::UNIXSocket" errors.
Using 2.1.0.rc0 version of Ruby driver. Seems like this started happening after UNIX socket support was added in 2.1.0.rc0. This issue didn't exist in 2.1.0.beta.
irb(main):005:0> x = Mongo::Client.new(url)
D, 2015-08-28T23:45:17.001985 #17068 DEBUG – : MONGODB | Adding ds037323-a0.mongolab.com:37323 to the cluster.
D, 2015-08-28T23:45:17.059887 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
D, 2015-08-28T23:45:17.068387 #17068 DEBUG – : MONGODB | Adding ds037323-a1.mongolab.com:37323 to the cluster.
D, 2015-08-28T23:45:17.132682 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
=> #<Mongo::Client:0x26437140 cluster=ds037323-a0.mongolab.com:37323, ds037323-a1.mongolab.com:37323>
irb(main):006:0> D, 2015-08-28T23:45:27.069289 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
D, 2015-08-28T23:45:27.142316 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
D, 2015-08-28T23:45:37.078570 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
D, 2015-08-28T23:45:37.152070 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket
D, 2015-08-28T23:45:47.087518 #17068 DEBUG – : MONGODB | uninitialized constant Mongo::Socket::UNIXSocket