Gemfile in elasticsearch-2.0.2 vs Gemfile in elasticsearch-5.0.0.pre

- old
+ new

@@ -1,16 +1,16 @@ source 'https://rubygems.org' # Specify your gem's dependencies in elasticsearch.gemspec gemspec -if File.exist? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__) +if File.exists? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__) gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false end -if File.exist? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __FILE__) +if File.exists? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __FILE__) gem 'elasticsearch-transport', :path => File.expand_path("../../elasticsearch-transport", __FILE__), :require => false end -if File.exist? File.expand_path("../../elasticsearch-extensions", __FILE__) +if File.exists? File.expand_path("../../elasticsearch-extensions", __FILE__) gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions", __FILE__), :require => true end