Injecting configuration and compiling...
[1G [1G-----> Ruby app detected
[1G-----> Compiling Ruby
[1G-----> Using Ruby version: ruby-2.3.4
[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 Fetching gem metadata from https://rubygems.org/......
[1G Fetching version metadata from https://rubygems.org/.
[1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git
[1G Using bundler 1.15.2
[1G Fetching unf_ext 0.0.7.1
[1G Fetching httpclient 2.6.0.1
[1G Fetching mime-types 2.5
[1G Installing mime-types 2.5
[1G Installing httpclient 2.6.0.1
[1G Installing unf_ext 0.0.7.1 with native extensions
[1G Fetching net-http-digest_auth 1.4
[1G Installing net-http-digest_auth 1.4
[1G Fetching net-http-persistent 2.9.4
[1G Fetching mini_portile 0.6.2
[1G Installing mini_portile 0.6.2
[1G Installing net-http-persistent 2.9.4
[1G Fetching ntlm-http 0.1.1
[1G Fetching webrobots 0.1.1
[1G Installing ntlm-http 0.1.1
[1G Installing webrobots 0.1.1
[1G Fetching sqlite3 1.3.10
[1G Fetching nokogiri 1.6.6.2
[1G Installing sqlite3 1.3.10 with native extensions
[1G Installing nokogiri 1.6.6.2 with native extensions
[1G Fetching unf 0.1.4
[1G Installing unf 0.1.4
[1G Fetching domain_name 0.5.24
[1G Installing domain_name 0.5.24
[1G Fetching http-cookie 1.0.2
[1G Installing http-cookie 1.0.2
[1G Fetching sqlite_magic 0.0.3
[1G Installing sqlite_magic 0.0.3
[1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)
[1G Fetching mechanize 2.7.3
[1G Installing mechanize 2.7.3
[1G Bundle complete! 2 Gemfile dependencies, 17 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 (21.20s)
[1G Cleaning up the bundler cache.
[1G-----> Detecting rake tasks
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
Scraping page...
Saving record T210030, 35 Boundary Drain Road, Koo Wee Rup, VIC
/app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `initialize': database disk image is malformed (SQLite3::CorruptException)
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `new'
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `prepare'
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:134:in `execute'
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:93:in `block in save_data'
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:88:in `each'
from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:88:in `save_data'
from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraperwiki-ruby-fc5017681250/lib/scraperwiki.rb:89:in `save_sqlite'
from scraper.rb:25:in `block in scrape_page'
from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'
from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto'
from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `each'
from scraper.rb:9:in `scrape_page'
from scraper.rb:33:in `<main>'