Ruby Application

I have to install an amazon API for gifts codes. The application is on github.

I wanted to know if someone could explain how to run this ruby code from a webpage or give some links to help.