Created
March 14, 2016 23:23
-
-
Save todlazarov/966aec17e0363f9e654a to your computer and use it in GitHub Desktop.
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
todl@todl-System-Product-Name:~/Desktop/book_viewer_r20160201/book_viewer$ bundle install | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using addressable 2.4.0 | |
Using backports 3.6.8 | |
Using erubis 2.7.0 | |
Using excon 0.48.0 | |
Using multi_json 1.11.2 | |
Using net-ssh 2.9.2 | |
Using netrc 0.10.3 | |
Using mime-types 1.25.1 | |
Installing json 1.8.3 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/home/todl/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20160314-26972-r5p3tf.rb extconf.rb | |
creating Makefile | |
make "DESTDIR=" clean | |
make "DESTDIR=" | |
compiling generator.c | |
linking shared-object json/ext/generator.so | |
/usr/bin/ld: cannot find -lgmp | |
collect2: error: ld returned 1 exit status | |
make: *** [generator.so] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/todl/.rvm/gems/ruby-2.2.3/gems/json-1.8.3 for inspection. | |
Results logged to /home/todl/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/json-1.8.3/gem_make.out | |
Using rubyzip 1.1.7 | |
Installing puma 3.1.0 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
/home/todl/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20160314-26972-8ida41.rb extconf.rb | |
checking for BIO_read() in -lcrypto... *** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/home/todl/.rvm/rubies/ruby-2.2.3/bin/$(RUBY_BASE_NAME) | |
--with-puma_http11-dir | |
--without-puma_http11-dir | |
--with-puma_http11-include | |
--without-puma_http11-include=${puma_http11-dir}/include | |
--with-puma_http11-lib | |
--without-puma_http11-lib=${puma_http11-dir}/lib | |
--with-cryptolib | |
--without-cryptolib | |
/home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) | |
You have to install development tools first. | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:541:in `try_link0' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:556:in `try_link' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:735:in `try_func' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:966:in `block in have_library' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:321:in `open' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:321:in `open' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:347:in `postpone' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for' | |
from /home/todl/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/mkmf.rb:961:in `have_library' | |
from extconf.rb:6:in `block in <main>' | |
from extconf.rb:6:in `each' | |
from extconf.rb:6:in `find' | |
from extconf.rb:6:in `<main>' | |
extconf failed, exit code 1 | |
Gem files will remain installed in /home/todl/.rvm/gems/ruby-2.2.3/gems/puma-3.1.0 for inspection. | |
Results logged to /home/todl/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/puma-3.1.0/gem_make.out | |
Using rack 1.6.4 | |
Using tilt 2.0.2 | |
Using bundler 1.11.2 | |
Using launchy 2.4.3 | |
Using heroku-api 0.4.2 | |
Using net-ssh-gateway 1.2.0 | |
An error occurred while installing json (1.8.3), and Bundler cannot continue. | |
Make sure that `gem install json -v '1.8.3'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment