rails/init.rb in postgis_adapter-0.7.1 vs rails/init.rb in postgis_adapter-0.7.2

- old
+ new

@@ -1,8 +1,9 @@ class SpatialAdapterNotCompatibleError < StandardError end unless ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' raise SpatialAdapterNotCompatibleError. - new("Only PostgreSQL with PostGIS is supported by the postgis adapter plugin.") + new("Database config file not set or it does not map to PostgreSQL\n" + + "Only PostgreSQL with PostGIS is supported by postgis_adapter.") end require 'postgis_adapter'