|
Last login: Fri Aug 2 09:14:30 on ttys000 |
|
ryan-13:~ work$ cd projects/ |
|
ryan-13:projects work$ git clone [email protected]:endymion/flatbot.git |
|
Cloning into 'flatbot'... |
|
Warning: Permanently added the RSA host key for IP address '140.82.114.4' to the list of known hosts. |
|
remote: Enumerating objects: 22, done. |
|
remote: Counting objects: 100% (22/22), done. |
|
remote: Compressing objects: 100% (13/13), done. |
|
remote: Total 22 (delta 8), reused 20 (delta 6), pack-reused 0 |
|
Receiving objects: 100% (22/22), done. |
|
Resolving deltas: 100% (8/8), done. |
|
ryan-13:projects work$ cd flatbot/ |
|
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, |
|
you can ignore these warnings with 'rvm rvmrc warning ignore /Users/work/projects/flatbot/Gemfile'. |
|
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'. |
|
|
|
ryan-13:flatbot work$ vagrant init "hbsmith/awslinux" |
|
A `Vagrantfile` has been placed in this directory. You are now |
|
ready to `vagrant up` your first virtual environment! Please read |
|
the comments in the Vagrantfile as well as documentation on |
|
`vagrantup.com` for more information on using Vagrant. |
|
ryan-13:flatbot work$ vagrant up |
|
Bringing machine 'default' up with 'virtualbox' provider... |
|
==> default: Importing base box 'hbsmith/awslinux'... |
|
==> default: Matching MAC address for NAT networking... |
|
==> default: Checking if box 'hbsmith/awslinux' version '2018.03.0.20190514' is up to date... |
|
==> default: Setting the name of the VM: flatbot_default_1564760004956_25007 |
|
==> default: Clearing any previously set network interfaces... |
|
==> default: Preparing network interfaces based on configuration... |
|
default: Adapter 1: nat |
|
==> default: Forwarding ports... |
|
default: 22 (guest) => 2222 (host) (adapter 1) |
|
==> default: Booting VM... |
|
==> default: Waiting for machine to boot. This may take a few minutes... |
|
default: SSH address: 127.0.0.1:2222 |
|
default: SSH username: vagrant |
|
default: SSH auth method: private key |
|
default: |
|
default: Vagrant insecure key detected. Vagrant will automatically replace |
|
default: this with a newly generated keypair for better security. |
|
default: |
|
default: Inserting generated public key within guest... |
|
default: Removing insecure key from the guest if it's present... |
|
default: Key inserted! Disconnecting and reconnecting using new SSH key... |
|
==> default: Machine booted and ready! |
|
==> default: Checking for guest additions in VM... |
|
==> default: Mounting shared folders... |
|
default: /vagrant => /Users/work/projects/flatbot |
|
ryan-13:flatbot work$ vagrant ssh |
|
|
|
__| __|_ ) |
|
_| ( / Amazon Linux AMI |
|
___|\___|___| |
|
|
|
https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/ |
|
20 package(s) needed for security, out of 23 available |
|
Run "sudo yum update" to apply all updates. |
|
[vagrant@localhost ~]$ ls |
|
[vagrant@localhost ~]$ cd /vagrant |
|
[vagrant@localhost vagrant]$ ls |
|
config flatbot.rb Gemfile Gemfile.lock lib Vagrantfile |
|
[vagrant@localhost vagrant]$ ruby -v |
|
ruby 2.0.0p648 (2015-12-16) [x86_64-linux] |
|
[vagrant@localhost vagrant]$ bundle install |
|
-bash: bundle: command not found |
|
[vagrant@localhost vagrant]$ gem install bundler |
|
Fetching: bundler-2.0.2.gem (100%) |
|
ERROR: Error installing bundler: |
|
bundler requires Ruby version >= 2.3.0. |
|
[vagrant@localhost vagrant]$ cat Gemfile |
|
source 'https://rubygems.org' |
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" } |
|
|
|
ruby '2.6.0' |
|
|
|
gem 'envyable' |
|
gem 'awesome_print' |
|
|
|
gem 'google_maps_service' |
|
gem 'haversine' |
|
gem 'polylines'[vagrant@localhost vagrant]$ rvm install '2.6.0' |
|
-bash: rvm: command not found |
|
[vagrant@localhost vagrant]$ curl -sSL https://get.rvm.io | bash |
|
Downloading https://github.com/rvm/rvm/archive/master.tar.gz |
|
Installing RVM to /home/vagrant/.rvm/ |
|
Adding rvm PATH line to /home/vagrant/.profile /home/vagrant/.mkshrc /home/vagrant/.bashrc /home/vagrant/.zshrc. |
|
Adding rvm loading line to /home/vagrant/.profile /home/vagrant/.bash_profile /home/vagrant/.zlogin. |
|
Installation of RVM in /home/vagrant/.rvm/ is almost complete: |
|
|
|
* To start using RVM you need to run `source /home/vagrant/.rvm/scripts/rvm` |
|
in all your open shell windows, in rare cases you need to reopen all shell windows. |
|
Thanks for installing RVM 🙏 |
|
Please consider donating to our open collective to help us maintain RVM. |
|
|
|
👉 Donate: https://opencollective.com/rvm/donate |
|
|
|
|
|
[vagrant@localhost vagrant]$ rvm install '2.6.0' |
|
-bash: rvm: command not found |
|
[vagrant@localhost vagrant]$ source /home/vagrant/.rvm/scripts/rvm |
|
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, |
|
you can ignore these warnings with 'rvm rvmrc warning ignore /vagrant/Gemfile'. |
|
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'. |
|
|
|
Required ruby-2.6.0 is not installed. |
|
To install do: 'rvm install "ruby-2.6.0"' |
|
[vagrant@localhost vagrant]$ rvm install '2.6.0' |
|
Warning, new version of rvm available '1.29.9', you are using older version '1.29.9-next'. |
|
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc |
|
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc |
|
You can update manually with: rvm get VERSION (e.g. 'rvm get stable') |
|
|
|
Searching for binary rubies, this might take some time. |
|
No binary rubies available for: amazon/2018.03/x86_64/ruby-2.6.0. |
|
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. |
|
Checking requirements for amazon. |
|
Installing requirements for amazon. |
|
Installing required packages: patch, autoconf, automake, bison, gcc-c++, libffi-devel, libtool, patch, readline-devel, sqlite-devel, libyaml-devel, openssl-devel.................... |
|
Requirements installation successful. |
|
Installing Ruby from source to: /home/vagrant/.rvm/rubies/ruby-2.6.0, this may take a while depending on your cpu(s)... |
|
ruby-2.6.0 - #downloading ruby-2.6.0, this may take a while depending on your connection... |
|
% Total % Received % Xferd Average Speed Time Time Time Current |
|
Dload Upload Total Spent Left Speed |
|
100 13.9M 100 13.9M 0 0 6353k 0 0:00:02 0:00:02 --:--:-- 6353k |
|
ruby-2.6.0 - #extracting ruby-2.6.0 to /home/vagrant/.rvm/src/ruby-2.6.0..... |
|
ruby-2.6.0 - #configuring...................................................................... |
|
ruby-2.6.0 - #post-configuration.. |
|
ruby-2.6.0 - #compiling........................................................................................... |
|
ruby-2.6.0 - #installing................................ |
|
ruby-2.6.0 - #making binaries executable.. |
|
ruby-2.6.0 - #downloading rubygems-3.0.4 |
|
% Total % Received % Xferd Average Speed Time Time Time Current |
|
Dload Upload Total Spent Left Speed |
|
100 862k 100 862k 0 0 3976k 0 --:--:-- --:--:-- --:--:-- 3976k |
|
ruby-2.6.0 - #extracting rubygems-3.0.4..... |
|
ruby-2.6.0 - #removing old rubygems........ |
|
ruby-2.6.0 - #installing rubygems-3.0.4......................................... |
|
ruby-2.6.0 - #gemset created /home/vagrant/.rvm/gems/ruby-2.6.0@global |
|
ruby-2.6.0 - #importing gemset /home/vagrant/.rvm/gemsets/global.gems................................................................ |
|
ruby-2.6.0 - #generating global wrappers....... |
|
ruby-2.6.0 - #gemset created /home/vagrant/.rvm/gems/ruby-2.6.0 |
|
ruby-2.6.0 - #importing gemsetfile /home/vagrant/.rvm/gemsets/default.gems evaluated to empty gem list |
|
ruby-2.6.0 - #generating default wrappers....... |
|
ruby-2.6.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). |
|
Install of ruby-2.6.0 - #complete |
|
Ruby was built without documentation, to build it run: rvm docs generate-ri |
|
[vagrant@localhost vagrant]$ rvm use '2.6.0' |
|
Using /home/vagrant/.rvm/gems/ruby-2.6.0 |
|
[vagrant@localhost vagrant]$ bundle install |
|
Fetching gem metadata from https://rubygems.org/.............. |
|
Fetching awesome_print 1.8.0 |
|
Installing awesome_print 1.8.0 |
|
Using bundler 1.17.3 |
|
Fetching thor 0.20.3 |
|
Installing thor 0.20.3 |
|
Fetching envyable 1.2.0 |
|
Installing envyable 1.2.0 |
|
Fetching hurley 0.2 |
|
Installing hurley 0.2 |
|
Fetching multi_json 1.13.1 |
|
Installing multi_json 1.13.1 |
|
Fetching retriable 2.1.0 |
|
Installing retriable 2.1.0 |
|
Fetching google_maps_service 0.4.2 |
|
Installing google_maps_service 0.4.2 |
|
Fetching haversine 0.3.2 |
|
Installing haversine 0.3.2 |
|
Fetching polylines 0.3.0 |
|
Installing polylines 0.3.0 |
|
Bundle complete! 5 Gemfile dependencies, 10 gems now installed. |
|
Use `bundle info [gemname]` to see where a bundled gem is installed. |
|
[vagrant@localhost vagrant]$ ls config/ |
|
env.yml.example |
|
[vagrant@localhost vagrant]$ cat config/env.yml.example |
|
GOOGLE_MAPS_API_KEY: AAAAaaaaBBBBbbbbCCCCccccDDDDddddEEEEEEE[vagrant@localhost vagrant]$ |
|
[vagrant@localhost vagrant]$ echo 'GOOGLE_MAPS_API_KEY: NOTREALGETTHEREALKEYFROMRYAN' > config/env.yml |
|
[vagrant@localhost vagrant]$ ruby flatbot.rb |
|
location: {:elevation=>371.7138061523438, :location=>{:lat=>46.25893, :lng=>-96.03801}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.0022277832031, :location=>{:lat=>46.25886500003934, :lng=>-96.03791499988738}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.447998046875, :location=>{:lat=>46.2588, :lng=>-96.03782}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.028069354137044686 |
|
0.04338261092854833 |
|
|
|
location: {:elevation=>372.447998046875, :location=>{:lat=>46.2588, :lng=>-96.03782}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.6197814941406, :location=>{:lat=>46.25877000000393, :lng=>-96.03778999998359}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.8254699707031, :location=>{:lat=>46.25874, :lng=>-96.03776}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.04235770061489037 |
|
0.05071787211050757 |
|
|
|
location: {:elevation=>372.8254699707031, :location=>{:lat=>46.25874, :lng=>-96.03776}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.9096374511719, :location=>{:lat=>46.25870000000044, :lng=>-96.03774999999271}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.9190368652344, :location=>{:lat=>46.25866, :lng=>-96.03774}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.01864689804100331 |
|
0.0020823947049199002 |
|
|
|
location: {:elevation=>372.9190368652344, :location=>{:lat=>46.25866, :lng=>-96.03774}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.8650817871094, :location=>{:lat=>46.25864000000011, :lng=>-96.03774500000182}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.8045654296875, :location=>{:lat=>46.25862, :lng=>-96.03775}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.02390697222618354 |
|
-0.02681421148202997 |
|
|
|
location: {:elevation=>372.8045654296875, :location=>{:lat=>46.25862, :lng=>-96.03775}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.7463684082031, :location=>{:lat=>46.25862000000044, :lng=>-96.03776}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.6992492675781, :location=>{:lat=>46.25862, :lng=>-96.03777}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.07569787097239974 |
|
-0.0612886800983105 |
|
|
|
location: {:elevation=>372.6992492675781, :location=>{:lat=>46.25862, :lng=>-96.03777}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.4269714355469, :location=>{:lat=>46.2586050000109, :lng=>-96.03782000001368}, :resolution=>4.771975994110107} |
|
location: {:elevation=>372.1580810546875, :location=>{:lat=>46.25859, :lng=>-96.03787}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.06497821044607807 |
|
-0.06416980635602536 |
|
|
|
location: {:elevation=>372.1580810546875, :location=>{:lat=>46.25859, :lng=>-96.03787}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.8991088867188, :location=>{:lat=>46.25857000001319, :lng=>-96.03792500002007}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.6883544921875, :location=>{:lat=>46.25855, :lng=>-96.03798}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.05420553166010238 |
|
-0.044113056997722604 |
|
|
|
location: {:elevation=>371.6883544921875, :location=>{:lat=>46.25855, :lng=>-96.03798}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.627197265625, :location=>{:lat=>46.25854500000175, :lng=>-96.03800000000183}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.562255859375, :location=>{:lat=>46.25854, :lng=>-96.03802}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.0374040275940926 |
|
-0.03971844845705619 |
|
|
|
location: {:elevation=>371.562255859375, :location=>{:lat=>46.25854, :lng=>-96.03802}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.5054321289062, :location=>{:lat=>46.25853500000099, :lng=>-96.03803500000137}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.4781494140625, :location=>{:lat=>46.25853, :lng=>-96.03805}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.04438534623999059 |
|
-0.021310687182129466 |
|
|
|
location: {:elevation=>371.4781494140625, :location=>{:lat=>46.25853, :lng=>-96.03805}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.35107421875, :location=>{:lat=>46.25850000002453, :lng=>-96.03812500004103}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3201293945312, :location=>{:lat=>46.25847, :lng=>-96.0382}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.019076112873870846 |
|
-0.004645335843022055 |
|
|
|
location: {:elevation=>371.3201293945312, :location=>{:lat=>46.25847, :lng=>-96.0382}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3250427246094, :location=>{:lat=>46.25846500000011, :lng=>-96.03820500000046}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3289794921875, :location=>{:lat=>46.25846, :lng=>-96.03821}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.007269046927231201 |
|
0.005824267416560391 |
|
|
|
location: {:elevation=>371.3289794921875, :location=>{:lat=>46.25846, :lng=>-96.03821}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3862609863281, :location=>{:lat=>46.25843000001318, :lng=>-96.03826500003011}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.4314880371094, :location=>{:lat=>46.2584, :lng=>-96.03832}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.010635498749109592 |
|
0.008397341052168281 |
|
|
|
location: {:elevation=>371.4314880371094, :location=>{:lat=>46.2584, :lng=>-96.03832}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.4954223632812, :location=>{:lat=>46.25835500001569, :lng=>-96.03838000004923}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.5272216796875, :location=>{:lat=>46.25831, :lng=>-96.03844}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.009394366830128812 |
|
0.004672520399474946 |
|
|
|
location: {:elevation=>371.5272216796875, :location=>{:lat=>46.25831, :lng=>-96.03844}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.5586547851562, :location=>{:lat=>46.25826500000883, :lng=>-96.03848500003693}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.5259094238281, :location=>{:lat=>46.25822, :lng=>-96.03853}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.005167087305854541 |
|
-0.005382800660050122 |
|
|
|
location: {:elevation=>371.5259094238281, :location=>{:lat=>46.25822, :lng=>-96.03853}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.4639282226562, :location=>{:lat=>46.25817500000534, :lng=>-96.03856500002873}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3676147460938, :location=>{:lat=>46.25813, :lng=>-96.0386}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.010909482277789023 |
|
-0.01695240082457565 |
|
|
|
location: {:elevation=>371.3676147460938, :location=>{:lat=>46.25813, :lng=>-96.0386}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3408508300781, :location=>{:lat=>46.25812000000044, :lng=>-96.03861000000182}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3115539550781, :location=>{:lat=>46.25811, :lng=>-96.03862}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.01979795399625804 |
|
-0.021671648616350545 |
|
|
|
location: {:elevation=>371.3115539550781, :location=>{:lat=>46.25811, :lng=>-96.03862}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.2085266113281, :location=>{:lat=>46.25805000000883, :lng=>-96.03866500004924}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.1187744140625, :location=>{:lat=>46.25799, :lng=>-96.03871}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.013708882436430243 |
|
-0.01194248318849981 |
|
|
|
location: {:elevation=>371.1187744140625, :location=>{:lat=>46.25799, :lng=>-96.03871}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.1047668457031, :location=>{:lat=>46.25791000002452, :lng=>-96.03878500010943}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.1130065917969, :location=>{:lat=>46.25783, :lng=>-96.03886}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.0013213524045110469 |
|
0.0007772661202948977 |
|
|
|
location: {:elevation=>371.1130065917969, :location=>{:lat=>46.25783, :lng=>-96.03886}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.1174011230469, :location=>{:lat=>46.25775000002136, :lng=>-96.03893000010213}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.2427978515625, :location=>{:lat=>46.25767, :lng=>-96.039}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.0004226788338033534 |
|
0.012061023111153603 |
|
|
|
location: {:elevation=>371.2427978515625, :location=>{:lat=>46.25767, :lng=>-96.039}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.3544616699219, :location=>{:lat=>46.25759500002452, :lng=>-96.03907500010259}, :resolution=>4.771975994110107} |
|
location: {:elevation=>371.2491149902344, :location=>{:lat=>46.25752, :lng=>-96.03915}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.011013377322438437 |
|
-0.01039031935332057 |
|
|
|
location: {:elevation=>371.2491149902344, :location=>{:lat=>46.25752, :lng=>-96.03915}, :resolution=>4.771975994110107} |
|
location: {:elevation=>370.7617492675781, :location=>{:lat=>46.25749500012598, :lng=>-96.03932000007751}, :resolution=>4.771975994110107} |
|
location: {:elevation=>370.1369934082031, :location=>{:lat=>46.25747, :lng=>-96.03949}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.03647308783023151 |
|
-0.04675498146889426 |
|
|
|
location: {:elevation=>370.1369934082031, :location=>{:lat=>46.25747, :lng=>-96.03949}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.9937133789062, :location=>{:lat=>46.25746500000883, :lng=>-96.0395350000041}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.8321228027344, :location=>{:lat=>46.25746, :lng=>-96.03958}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.04088936507476513 |
|
-0.0461148430179224 |
|
|
|
location: {:elevation=>369.8321228027344, :location=>{:lat=>46.25746, :lng=>-96.03958}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.6869812011719, :location=>{:lat=>46.25745500001319, :lng=>-96.039635000005}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.5494689941406, :location=>{:lat=>46.25745, :lng=>-96.03969}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.03403149669499463 |
|
-0.03224262491056629 |
|
|
|
location: {:elevation=>369.5494689941406, :location=>{:lat=>46.25745, :lng=>-96.03969}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.3936462402344, :location=>{:lat=>46.25743500002136, :lng=>-96.03976000001914}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.2276000976562, :location=>{:lat=>46.25742, :lng=>-96.03983}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.027656098188078078 |
|
-0.029470589550555513 |
|
|
|
location: {:elevation=>369.2276000976562, :location=>{:lat=>46.25742, :lng=>-96.03983}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.2099609375, :location=>{:lat=>46.25742000000044, :lng=>-96.03984}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.1919555664062, :location=>{:lat=>46.25742, :lng=>-96.03985}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.0229430581610693 |
|
-0.023419384628230525 |
|
|
|
location: {:elevation=>369.1919555664062, :location=>{:lat=>46.25742, :lng=>-96.03985}, :resolution=>4.771975994110107} |
|
location: {:elevation=>369.0732421875, :location=>{:lat=>46.2574100000315, :lng=>-96.0399350000155}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.9954833984375, :location=>{:lat=>46.2574, :lng=>-96.04002}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.017908388362654477 |
|
-0.011730224563010757 |
|
|
|
location: {:elevation=>368.9954833984375, :location=>{:lat=>46.2574, :lng=>-96.04002}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.9476623535156, :location=>{:lat=>46.25740000000534, :lng=>-96.04005500000001}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.9114379882812, :location=>{:lat=>46.2574, :lng=>-96.04009}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.017771507180278857 |
|
-0.013461888341792662 |
|
|
|
location: {:elevation=>368.9114379882812, :location=>{:lat=>46.2574, :lng=>-96.04009}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8948974609375, :location=>{:lat=>46.25740000000534, :lng=>-96.040125}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8595581054688, :location=>{:lat=>46.2574, :lng=>-96.04016}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.0061468774062469235 |
|
-0.013132996377208396 |
|
|
|
location: {:elevation=>368.8595581054688, :location=>{:lat=>46.2574, :lng=>-96.04016}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8294677734375, :location=>{:lat=>46.25740500002135, :lng=>-96.04022999999363}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8134155273438, :location=>{:lat=>46.25741, :lng=>-96.0403}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.005561565157272097 |
|
-0.0029669201555557775 |
|
|
|
location: {:elevation=>368.8134155273438, :location=>{:lat=>46.25741, :lng=>-96.0403}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.7295532226562, :location=>{:lat=>46.25741500003151, :lng=>-96.04038499999226}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.6328735351562, :location=>{:lat=>46.25742, :lng=>-96.04047}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.012786602928389812 |
|
-0.014740887221145728 |
|
|
|
location: {:elevation=>368.6328735351562, :location=>{:lat=>46.25742, :lng=>-96.04047}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.5481872558594, :location=>{:lat=>46.25743000001091, :lng=>-96.04051999999089}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.5166931152344, :location=>{:lat=>46.25744, :lng=>-96.04057}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.021162536946903378 |
|
-0.007870175906617908 |
|
|
|
location: {:elevation=>368.5166931152344, :location=>{:lat=>46.25744, :lng=>-96.04057}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.4984130859375, :location=>{:lat=>46.25744500000098, :lng=>-96.04058499999863}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.4794311523438, :location=>{:lat=>46.25745, :lng=>-96.0406}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.0142784068638503 |
|
-0.014826659538036139 |
|
|
|
location: {:elevation=>368.4794311523438, :location=>{:lat=>46.25745, :lng=>-96.0406}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.4780578613281, :location=>{:lat=>46.25747000006277, :lng=>-96.04071999995624}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.5217590332031, :location=>{:lat=>46.25749, :lng=>-96.04084}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.00014470738850902556 |
|
0.004604910674509151 |
|
|
|
location: {:elevation=>368.5217590332031, :location=>{:lat=>46.25749, :lng=>-96.04084}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.614013671875, :location=>{:lat=>46.25752000007367, :lng=>-96.04096999992888}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8715515136719, :location=>{:lat=>46.25755, :lng=>-96.0411}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
0.008755569753370733 |
|
0.024442028827843618 |
|
|
|
location: {:elevation=>368.8715515136719, :location=>{:lat=>46.25755, :lng=>-96.0411}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8496704101562, :location=>{:lat=>46.25759500000098, :lng=>-96.04108500001233}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.8204345703125, :location=>{:lat=>46.25764, :lng=>-96.04107}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.004261213663110438 |
|
-0.005693504447281953 |
|
|
|
location: {:elevation=>368.8204345703125, :location=>{:lat=>46.25764, :lng=>-96.04107}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.7585144042969, :location=>{:lat=>46.25768500000044, :lng=>-96.04106000000822}, :resolution=>4.771975994110107} |
|
location: {:elevation=>368.7338562011719, :location=>{:lat=>46.25773, :lng=>-96.04105}, :resolution=>4.771975994110107} |
|
slope percentages: |
|
-0.012231165693002073 |
|
-0.00487076485046702 |
|
|
|
^CTraceback (most recent call last): |
|
32: from flatbot.rb:31:in `<main>' |
|
31: from flatbot.rb:31:in `each' |
|
30: from flatbot.rb:32:in `block in <main>' |
|
29: from flatbot.rb:32:in `each' |
|
28: from flatbot.rb:37:in `block (2 levels) in <main>' |
|
27: from flatbot.rb:37:in `times' |
|
26: from flatbot.rb:42:in `block (3 levels) in <main>' |
|
25: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/google_maps_service-0.4.2/lib/google_maps_service/apis/elevation.rb:55:in `elevation_along_path' |
|
24: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/google_maps_service-0.4.2/lib/google_maps_service/client.rb:174:in `get' |
|
23: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable' |
|
22: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times' |
|
21: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable' |
|
20: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/google_maps_service-0.4.2/lib/google_maps_service/client.rb:177:in `block in get' |
|
19: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/client.rb:47:in `get' |
|
18: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/client.rb:89:in `call' |
|
17: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/client.rb:122:in `call_with_redirects' |
|
16: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:12:in `call' |
|
15: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:58:in `net_http_connection' |
|
14: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:14:in `block in call' |
|
13: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:14:in `new' |
|
12: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/client.rb:252:in `initialize' |
|
11: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:15:in `block (2 levels) in call' |
|
10: from /home/vagrant/.rvm/gems/ruby-2.6.0/gems/hurley-0.2/lib/hurley/connection.rb:80:in `perform_request' |
|
9: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:1228:in `get' |
|
8: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:1470:in `request' |
|
7: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:919:in `start' |
|
6: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:930:in `do_start' |
|
5: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:945:in `connect' |
|
4: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/timeout.rb:103:in `timeout' |
|
3: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout' |
|
2: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:947:in `block in connect' |
|
1: from /home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:947:in `open' |
|
/home/vagrant/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/net/http.rb:947:in `initialize': Interrupt |
|
|
|
[vagrant@localhost vagrant]$ |