Skip to content

Instantly share code, notes, and snippets.

@jdashton
Last active February 19, 2019 16:14
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 jdashton/76181cf7d1d1a402263b3a5f06256ef1 to your computer and use it in GitHub Desktop.
Save jdashton/76181cf7d1d1a402263b3a5f06256ef1 to your computer and use it in GitHub Desktop.
$ rvm install 2.6.1
Found old RVM 1.29.7-next - updating.
Ruby enVironment Manager 1.29.7-next (with-openssl-dir) (c) 2009-2017 Michal Papis, Piotr Kuczynski, Wayne E. Seguin
# rvm get
Update RVM
## Usage
rvm get {stable|latest|latest-x.y|x.y.z|head|master|branch|help} [--auto-dotfiles] [--autolibs=X]
## Options
stable - install the latest RVM stable release
latest - install the latest RVM release
latest-minor
- install the latest minor RVM release for currently installed version
latest-x.y - install the latest RVM release matching the x.y* pattern
x.y.z - install a specific RVM release
head
master - install the latest RVM development version
--auto-dotfiles
- automatically update shell profile files.
--autolibs=X
- update autolibs mode to `X`, read more: `rvm autolibs`
help - Output this message.
## Branches
branch <branch>
branch /<branch>
branch <repo>/
branch <repo>/<branch>
## Defaults
branch: master
repo: rvm
## Examples
rvm get branch shoes # will fetch branch shoes from rvm/rvm repo
rvm get branch mpapis/ # will fetch branch master from mpapis/rvm repo
For additional documentation please visit https://rvm.io
RVM reloaded!
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.6.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/jdashton/.rvm/rubies/ruby-2.6.1, this may take a while depending on your cpu(s)...
ruby-2.6.1 - #downloading ruby-2.6.1, this may take a while depending on your connection...
ruby-2.6.1 - #extracting ruby-2.6.1 to /Users/jdashton/.rvm/src/ruby-2.6.1.....
ruby-2.6.1 - #configuring.......................................................................
ruby-2.6.1 - #post-configuration.
ruby-2.6.1 - #compiling.....................................................................
ruby-2.6.1 - #installing...........
ruby-2.6.1 - #making binaries executable..
ruby-2.6.1 - #downloading rubygems-3.0.2
ruby-2.6.1 - #extracting rubygems-3.0.2......
ruby-2.6.1 - #removing old rubygems........
ruby-2.6.1 - #installing rubygems-3.0.2.
Error running 'env GEM_HOME=/ruby-2.6.1@global GEM_PATH= /Users/jdashton/.rvm/rubies/ruby-2.6.1/bin/ruby -d /Users/jdashton/.rvm/src/rubygems-3.0.2/setup.rb --no-document',
please read /Users/jdashton/.rvm/log/1550590613_ruby-2.6.1/rubygems.install.log
$ cat .rvm/log/1550590613_ruby-2.6.1/rubygems.install.log
[2019-02-19 11:01:26] /Users/jdashton/.rvm/rubies/ruby-2.6.1/bin/ruby
current path: /Users/jdashton/.rvm/src/rubygems-3.0.2
GEM_PATH=/Users/jdashton/.rvm/gems/ruby-2.5.3:/Users/jdashton/.rvm/gems/ruby-2.5.3@global
GEM_HOME=/Users/jdashton/.rvm/gems/ruby-2.5.3
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/jdashton/.rvm/gems/ruby-2.5.3/bin:/Users/jdashton/.rvm/gems/ruby-2.5.3@global/bin:/Users/jdashton/.rvm/rubies/ruby-2.5.3/bin:/Users/jdashton/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin:/Users/jdashton/bin
command(7): env GEM_HOME=/ruby-2.6.1@global GEM_PATH= /Users/jdashton/.rvm/rubies/ruby-2.6.1/bin/ruby -d /Users/jdashton/.rvm/src/rubygems-3.0.2/setup.rb --no-document
Exception `LoadError' at /Users/jdashton/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/rubygems.rb:1375 - cannot load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /Users/jdashton/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/rubygems.rb:1384 - cannot load such file -- rubygems/defaults/ruby
Exception `Gem::MissingSpecError' at /Users/jdashton/.rvm/rubies/ruby-2.6.1/lib/ruby/2.6.0/rubygems/dependency.rb:311 - Gem::MissingSpecError
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /ruby-2.6.1@global directory.
Bundler 1.17.3 installed
RubyGems 3.0.2 installed
Regenerating binstubs
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment