modify database.yml.
done bundle package && bundle install && assets:precompile.
changed jquery gem.
installed pg gems.
add activerecord-postgresql-adapter gem.
modified gemfile.
modify Gemfile.lock