This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote: -----> Ruby app detected | |
remote: -----> Compiling Ruby/Rails | |
remote: -----> Using Ruby version: ruby-2.3.4 | |
remote: -----> Installing dependencies using bundler 1.15.2 | |
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment | |
remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.1). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. | |
remote: Fetching gem metadata from https://rubygems.org/. | |
remote: Retrying fetcher due to error (2/4): Bundler::HTTPError The checksum of /info/crass does not match the checksum provided by the server! Something is wrong (local checksum is "\"a080a1775e4c3f8b72707ef6a2e071b4\"", was expecting "\"5512cda1-50280\"").. | |
remote: Retrying fetcher due to error (3/4): Bundler::HTTPError The checksum of /info/erubi does not match the checksum provided by the server! Something is wron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
require 'nokogiri' | |
require 'mechanize' | |
puts 'Get source' | |
agent = Mechanize.new | |
html = agent.get 'http://bulbapedia.bulbagarden.net/wiki/List_of_French_Pok%C3%A9mon_names' | |
nodes = Nokogiri::HTML.parse html.body | |
puts 'Parse html' |