update gemfile and add unicorn config.
fix oauth environment.