/usr/lib/ruby/vendor_ruby/em-synchrony/mongoid.rb is in ruby-em-synchrony 1.0.5-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | require "em-synchrony/mongo"
# disable mongoid connection initializer
if defined? Rails
module Rails
module Mongoid
class Railtie < Rails::Railtie
initializers.delete_if { |i| i.name == 'verify that mongoid is configured' }
end
end
end
end
|