Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Remove RUBY_MIME_TYPES_LAZY_LOAD #229

Merged
merged 1 commit into from
Sep 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/conjur/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
require 'xdg'
require 'fileutils'

# this makes mime/types gem load much faster by lazy loading
# mime types and caching them in binary form
ENV['RUBY_MIME_TYPES_LAZY_LOAD'] ||= 'true'
# this makes mime/types gem load much faster by caching them in binary form
ENV['RUBY_MIME_TYPES_CACHE'] ||= (
XDG['CACHE'].to_path.tap(&FileUtils.method(:mkdir_p)) + 'ruby-mime-types.cache'
).to_s
Expand Down