lib/elasticsearch/embedded/downloader.rb in elasticsearch-embedded-0.1.1 vs lib/elasticsearch/embedded/downloader.rb in elasticsearch-embedded-0.1.2

- old
+ new

@@ -7,10 +7,10 @@ module Elasticsearch module Embedded class Downloader # Default temporary path used by downloader - TEMPORARY_PATH = defined?(Rails) ? Rails.root.join('tmp') : Dir.tmpdir + TEMPORARY_PATH = defined?(::Rails) ? ::Rails.root.join('tmp') : Dir.tmpdir # Default version of elasticsearch to download DEFAULT_VERSION = '1.4.0' attr_reader :version, :path