thread-safe thing in gemfile