A CSV with a list of countries, cities, lats/longs, altitude is included.
Ensure you have the appropriate model setup and the directory is moved to lib/tasks/ before performing the rake task.
rails g model Country country_name:string city:string latitude:integer longitude:integer altitude:integer
then run the migration
rake db:migrate
Now that you have your model setup, go ahead and perform the rake task to start importing the countries data into your app.
rake misc:import_countries
Give it a few and thats it!
If you encounter any issues or have a suggestion, please feel free to let me know here