Skip to content

Instantly share code, notes, and snippets.

@lewisdonofrio
Created March 30, 2018 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewisdonofrio/c84af9faae65bb702db9bc6d6eea3be4 to your computer and use it in GitHub Desktop.
Save lewisdonofrio/c84af9faae65bb702db9bc6d6eea3be4 to your computer and use it in GitHub Desktop.
donofrio@WSAL0013:/mnt/c/Users/donofrio/Downloads/facebook-data$ sudo apt-get install ruby-dev -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgmp-dev libgmpxx4ldbl ruby2.5-dev ruby2.5-doc
Suggested packages:
gmp-doc libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
libgmp-dev libgmpxx4ldbl ruby-dev ruby2.5-dev ruby2.5-doc
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2198 kB of archives.
After this operation, 20.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-2 [8964 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-2 [316 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 ruby2.5-dev amd64 2.5.0-6ubuntu1 [63.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 ruby-dev amd64 1:2.5.1 [4604 B]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 ruby2.5-doc all 2.5.0-6ubuntu1 [1805 kB]
Fetched 2198 kB in 4s (525 kB/s)
Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ... 191657 files and directories currently installed.)
Preparing to unpack .../libgmpxx4ldbl_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package ruby2.5-dev:amd64.
Preparing to unpack .../ruby2.5-dev_2.5.0-6ubuntu1_amd64.deb ...
Unpacking ruby2.5-dev:amd64 (2.5.0-6ubuntu1) ...
Selecting previously unselected package ruby-dev:amd64.
Preparing to unpack .../ruby-dev_1%3a2.5.1_amd64.deb ...
Unpacking ruby-dev:amd64 (1:2.5.1) ...
Selecting previously unselected package ruby2.5-doc.
Preparing to unpack .../ruby2.5-doc_2.5.0-6ubuntu1_all.deb ...
Unpacking ruby2.5-doc (2.5.0-6ubuntu1) ...
Processing triggers for libc-bin (2.27-0ubuntu2) ...
Setting up ruby2.5-doc (2.5.0-6ubuntu1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Setting up ruby2.5-dev:amd64 (2.5.0-6ubuntu1) ...
Setting up ruby-dev:amd64 (1:2.5.1) ...
Processing triggers for libc-bin (2.27-0ubuntu2) ...
W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
donofrio@WSAL0013:/mnt/c/Users/donofrio/Downloads/facebook-data$ ruby facebook-contact-info-summary.rb
Traceback (most recent call last):
2: from facebook-contact-info-summary.rb:42:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- nokogiri (LoadError)
donofrio@WSAL0013:/mnt/c/Users/donofrio/Downloads/facebook-data$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment