Injecting configuration and compiling...
[1G [1G-----> Ruby app detected
[1G-----> Compiling Ruby
[1G-----> Using Ruby version: ruby-2.3.3
[1G-----> Installing dependencies using bundler 1.15.2
[1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
[1G 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`.
[1G Fetching gem metadata from https://rubygems.org/........
[1G Fetching version metadata from https://rubygems.org/.
[1G Using bundler 1.15.2
[1G Using json 1.8.3
[1G Fetching mini_portile2 2.3.0
[1G Fetching sqlite3 1.3.11
[1G Installing mini_portile2 2.3.0
[1G Installing sqlite3 1.3.11 with native extensions
[1G Fetching nokogiri 1.8.1
[1G Installing nokogiri 1.8.1 with native extensions
[1G Bundle complete! 3 Gemfile dependencies, 5 gems now installed.
[1G Gems in the groups development and test were not installed.
[1G Bundled gems are installed into ./vendor/bundle.
[1G Bundle completed (15.68s)
[1G Cleaning up the bundler cache.
[1G 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`.
[1G-----> Detecting rake tasks
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
scraper.rb:96:in `<main>': undefined method `api_sort' for nil:NilClass (NoMethodError)