Fixed broken links.

Changed markdown to highlight ruby code.
Changed error message according to ruby 2.0