Calculate dependencies so this builds on old ruby

Ruby 1.8.7 blows up on new versions of nokogiri and redcarpet, so
blacklist those version if we're building on old ruby.
Merge pull request #85 from binford2k/programatically_calculate_dependencies

Calculate dependencies so this builds on old ruby