Create separate Gemfile for Ruby 1.8.7
Update nokogiri dependency to version ~>1.5