diff --git a/lib/bootsnap/load_path_cache/store.rb b/lib/bootsnap/load_path_cache/store.rb index e820c891..75fe4eba 100644 --- a/lib/bootsnap/load_path_cache/store.rb +++ b/lib/bootsnap/load_path_cache/store.rb @@ -12,8 +12,7 @@ class Store def initialize(store_path) @store_path = store_path - # TODO: Remove conditional once Ruby 2.2 support is dropped. - @txn_mutex = defined?(::Mutex) ? ::Mutex.new : ::Thread::Mutex.new + @txn_mutex = Mutex.new @dirty = false load_data end