Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created June 24, 2016 03:55
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/28b736cbec26c8464323ffd76678e01b to your computer and use it in GitHub Desktop.
Save anonymous/28b736cbec26c8464323ffd76678e01b to your computer and use it in GitHub Desktop.
[max@localhost ~]$ rvm install ruby-2.2.2
ruby-2.2.2 - #removing src/ruby-2.2.2..
Searching for binary rubies, this might take some time.
No binary rubies available for: arch/libc-2.23/x86_64/ruby-2.2.2.
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/max/.rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)...
ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection...
ruby-2.2.2 - #extracting ruby-2.2.2 to /home/max/.rvm/src/ruby-2.2.2....
ruby-2.2.2 - #applying patch /home/max/.rvm/patches/ruby/2.2.2/fix_installing_bundled_gems.patch.
ruby-2.2.2 - #configuring.........................................................
ruby-2.2.2 - #post-configuration..
ruby-2.2.2 - #compiling.....................................................................................
Error running '__rvm_make -j4',
showing last 15 lines of /home/max/.rvm/log/1466740253_ruby-2.2.2/make.log
compiling udpsocket.c
compiling unixsocket.c
compiling unixserver.c
compiling option.c
compiling ancdata.c
compiling raddrinfo.c
compiling ifaddr.c
compiling constants.c
linking shared-object socket.so
make[2]: Leaving directory '/home/max/.rvm/src/ruby-2.2.2/ext/socket'
linking shared-object ripper.so
make[2]: Leaving directory '/home/max/.rvm/src/ruby-2.2.2/ext/ripper'
make[1]: Leaving directory '/home/max/.rvm/src/ruby-2.2.2'
make: *** [uncommon.mk:189: 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