gem 'sunspot-client'  for production
added  adapter: postgresql to sunspot..yml