Skip to content

Instantly share code, notes, and snippets.

@mIcHyAmRaNe
Last active June 15, 2024 11:29
Show Gist options
  • Save mIcHyAmRaNe/6cb379ec6e2f0790df80c46f84e2608f to your computer and use it in GitHub Desktop.
Save mIcHyAmRaNe/6cb379ec6e2f0790df80c46f84e2608f to your computer and use it in GitHub Desktop.
rvm
# .config/fish/config.fish
if status is-interactive
# Commands to run in interactive sessions can go here
end
rvm default
┌╴(username㉿🌐 lab) | ~ via 🐍 v3.11.2
└─ ✗ rvm info
ruby-3.1.5:
  system:
    uname:        "Linux lab 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux"
    name:         "Debian"
    version:      "12"
    architecture: "x86_64"
    bash:         "/bin/bash => GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)"
    zsh:          " => not installed"
    remote_path:  "debian/12/x86_64"
  rvm:
    version:      "1.29.12 (latest)"
    updated:      "5 hours 21 minutes 29 seconds ago"
    path:         "/home/username/.rvm"
    autolibs:     "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."
  ruby:
    interpreter:  "ruby"
    version:      "3.1.5p252"
    date:         "2024-04-23"
    platform:     "x86_64-linux"
    patchlevel:   "2024-04-23 revision 1945f8dc0e"
    full_version: "ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [x86_64-linux]"
  homes:
    gem:          "/home/username/.rvm/gems/ruby-3.1.5"
    ruby:         "not set"
  binaries:
    ruby:         "/home/username/.rvm/rubies/ruby-3.1.5/bin/ruby"
    irb:          "/home/username/.rvm/rubies/ruby-3.1.5/bin/irb"
    gem:          "/home/username/.rvm/rubies/ruby-3.1.5/bin/gem"
    rake:         "/home/username/.rvm/rubies/ruby-3.1.5/bin/rake"
  environment:
    PATH:         "/home/username/.rvm/gems/ruby-3.1.5/bin:/home/username/.rvm/gems/ruby-3.1.5/bin:/home/username/.rvm/gems/ruby-3.1.5@global/bin:/home/username/.rvm/rubies/ruby-3.1.5/bin:/home/username/.rvm/bin:/bin:/home/username/.cargo/bin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games"
    GEM_HOME:     "/home/username/.rvm/gems/ruby-3.1.5"
    GEM_PATH:     "/home/username/.rvm/gems/ruby-3.1.5:/home/username/.rvm/gems/ruby-3.1.5@global"
    MY_RUBY_HOME: ""
    IRBRC:        ""
    RUBYOPT:      ""
    gemset:       ""
┌╴(username㉿🌐 lab) | ~ via 🐍 v3.11.2
└─ ✗ rvm install 3.1.5
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/12/x86_64/ruby-3.1.5.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Requirements installation successful.
Installing Ruby from source to: /home/username/.rvm/rubies/ruby-3.1.5, this may take a while depending on your cpu(s)...
ruby-3.1.5 - #downloading ruby-3.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 19.9M  100 19.9M    0     0  5530k      0  0:00:03  0:00:03 --:--:-- 5530k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-3.1.5 - #extracting ruby-3.1.5 to /home/username/.rvm/src/ruby-3.1.5.....
ruby-3.1.5 - #configuring...............................................................
ruby-3.1.5 - #post-configuration..
ruby-3.1.5 - #compiling.......................................................................................................................|
ruby-3.1.5 - #installing.....................
ruby-3.1.5 - #making binaries executable...
Installed rubygems 3.3.27 is newer than 3.0.9 provided with installed ruby, skipping installation, use --force to force installation.
ruby-3.1.5 - #gemset created /home/username/.rvm/gems/ruby-3.1.5@global
ruby-3.1.5 - #importing gemset /home/username/.rvm/gemsets/global.gems..........................................................
ruby-3.1.5 - #generating global wrappers........
ruby-3.1.5 - #gemset created /home/username/.rvm/gems/ruby-3.1.5
ruby-3.1.5 - #importing gemsetfile /home/username/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-3.1.5 - #generating default wrappers........
ruby-3.1.5 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-3.1.5 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
┌╴(username㉿🌐 lab) | ~ via 🐍 v3.11.2 took 12m58s
└─ ✗ echo $PATH
/home/username/.rvm/gems/ruby-3.1.5/bin /home/username/.rvm/gems/ruby-3.1.5@global/bin /home/username/.rvm/rubies/ruby-3.1.5/bin /home/username/.rvm/bin /bin /bin /bin /home/username/.cargo/bin /sbin /usr/local/bin /usr/bin /bin /usr/games
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment