Skip to content

Instantly share code, notes, and snippets.

@woei66
Created March 9, 2018 05:27
Show Gist options
  • Save woei66/66c5c4b96666add7bd7803b3a7a086e3 to your computer and use it in GitHub Desktop.
Save woei66/66c5c4b96666add7bd7803b3a7a086e3 to your computer and use it in GitHub Desktop.
[root@ec2 ~]# rvm install ruby-2.4.2
Searching for binary rubies, this might take some time.
No binary rubies available for: unknown/libc-2.25/x86_64/ruby-2.4.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for unknown.
Install:
press any key to continue
Install: build-essential libreadline zlib1g libyaml libc6 libgdbm ncurses
press any key to continue
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.4.2, this may take a while depending on your cpu(s)...
ruby-2.4.2 - #downloading ruby-2.4.2, 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 12.0M 100 12.0M 0 0 12.0M 0 0:00:01 --:--:-- 0:00:01 35.0M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.4.2 - #extracting ruby-2.4.2 to /usr/local/rvm/src/ruby-2.4.2....
ruby-2.4.2 - #configuring..................................................................
ruby-2.4.2 - #post-configuration..
ruby-2.4.2 - #compiling.................................................................................................................
ruby-2.4.2 - #installing...........................
ruby-2.4.2 - #making binaries executable..
ruby-2.4.2 - #downloading rubygems-2.6.14
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 751k 100 751k 0 0 751k 0 0:00:01 --:--:-- 0:00:01 11.2M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.4.2 - #extracting rubygems-2.6.14....
ruby-2.4.2 - #removing old rubygems.........
ruby-2.4.2 - #installing rubygems-2.6.14...........................
ruby-2.4.2 - #gemset created /usr/local/rvm/gems/ruby-2.4.2@global
ruby-2.4.2 - #importing gemset /usr/local/rvm/gemsets/global.gems.............there was an error installing gem gem-wrappers
..............there was an error installing gem rubygems-bundler
.....................there was an error installing gem rvm
...
ruby-2.4.2 - #generating global wrappers..............
Error running 'run_gem_wrappers_regenerate',
please read /usr/local/rvm/log/1520572663_ruby-2.4.2/gemset.wrappers.global.log
ruby-2.4.2 - #gemset created /usr/local/rvm/gems/ruby-2.4.2
ruby-2.4.2 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.4.2 - #generating default wrappers..............
Error running 'run_gem_wrappers_regenerate',
please read /usr/local/rvm/log/1520572663_ruby-2.4.2/gemset.wrappers.default.log
ruby-2.4.2 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.4.2 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment