seevibes/pre-interview-test — pull request #8 by beraboris (2014-02-07 21:18:32+00:00)
Title: Solution for Boris Bera (Université de Sherbrooke internship)

Mandatory mention of @francis

This solution is written in ruby 2.0.0. It should be able to run on ruby 1.9.x and 2.1.0. It will not run in 1.8.x. This solution uses bundle for dependency management. To install bundler (assuming it's not installed) run the following:

$ gem install bundler

The first time you want to run the solution, you should install the dependencies with bundler. This can be done with the following command:

$ cd path/to/solution/directory/
$ bundle install

Once this is done, you can run the solution like this:

$ ruby program.rb batman
Title: Batman
Year: 1989
$ ruby program.rb avengers
Title: The Avengers
Year: 2012