Skip to content

Instantly share code, notes, and snippets.

Created October 9, 2016 15:38
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 anonymous/b15b08501e4f6fc1f1211a7a828723e5 to your computer and use it in GitHub Desktop.
Save anonymous/b15b08501e4f6fc1f1211a7a828723e5 to your computer and use it in GitHub Desktop.
Ruby Error
rvm install 2.1.5
Searching for binary rubies, this might take some time.
No binary rubies available for: arch/libc-2.24/x86_64/ruby-2.1.5.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for arch.
Requirements installation successful.
Installing Ruby from source to: /home/codfection/.rvm/rubies/ruby-2.1.5, this may take a while depending on your cpu(s)...
ruby-2.1.5 - #downloading ruby-2.1.5, 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 11.4M 100 11.4M 0 0 1011k 0 0:00:11 0:00:11 --:--:-- 1434k
ruby-2.1.5 - #extracting ruby-2.1.5 to /home/codfection/.rvm/src/ruby-2.1.5....
ruby-2.1.5 - #configuring.....................................................
ruby-2.1.5 - #post-configuration..
ruby-2.1.5 - #compiling........................................................|
Error running '__rvm_make -j4',
showing last 15 lines of /home/codfection/.rvm/log/1476026950_ruby-2.1.5/make.log
constdefs.c:21:6: note: in expansion of macro ‘LONG2FIX’
LONG2FIX(n))
^~~~~~~~
constdefs.c:1715:50: note: in expansion of macro ‘INTEGER2NUM’
rb_define_const(rb_mSockConst, "EAI_SYSTEM", INTEGER2NUM(EAI_SYSTEM));
^~~~~~~~~~~
linking shared-object stringio.so
make[2]: Leaving directory '/home/codfection/.rvm/src/ruby-2.1.5/ext/stringio'
linking shared-object socket.so
make[2]: Leaving directory '/home/codfection/.rvm/src/ruby-2.1.5/ext/socket'
linking shared-object ripper.so
make[2]: Leaving directory '/home/codfection/.rvm/src/ruby-2.1.5/ext/ripper'
make[1]: Leaving directory '/home/codfection/.rvm/src/ruby-2.1.5'
make: *** [uncommon.mk:180: build-ext] Error 2
++ return 2
There has been an error while running make. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment