add pg to Gemfile
move the sqlite3 to the development group
change the request_local to true in productin.rb
change the production.rb to let the it work in production mode