cities
cities copied to clipboard
Error in lib/cities.rb
guys yoiu have a major issue in lib/cities.rb The error popsup when i do cities = Cities.cities_in_country('FR')
/cities-0.3.1/lib/cities.rb:30:in has_data?': undefined method
exists?' for Dir:Class (NoMethodError)
This is the method involve def has_data? data_path && Dir.exists?(data_path) end
it should be def has_data? data_path && Dir.exist?(data_path) end