Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 254 Bytes
begin
require File.join(File.dirname(__FILE__), 'lib', 'gettext_json')
rescue LoadError
begin
require 'gettext_json'
rescue LoadError => e
raise e unless defined?(Rake) && Rake.application.top_level_tasks.include?('gems:install')
end
end