This script enables you to launch your Rails application in production environment (port:80) with Nginx and Unicorn.
Please make sure that your Gemfile in your rails application includes unicorn.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |