User Tools

Site Tools


ubuntu:chruby

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:chruby [2022/03/31 08:13] – [Installing for a user without sudo] slackubuntu:chruby [2023/01/23 16:30] (current) slack
Line 1: Line 1:
 ====== chruby ====== ====== chruby ======
  
-Install Ubuntu ruby prerequisites, otherwise you will be asked to use sudo even for a user install (though you can/may have to force ''ruby-install'' to skip dependencies with ''--no-install-deps'')+Install Ubuntu ruby prerequisites, otherwise you will be asked to use sudo even for a user install though you can/may have to force ''ruby-install'' to skip dependencies with ''--no-install-deps'': 
-  * ''sudo apt install build-essential libssl-dev''+ 
 +  * ''sudo apt install -y build-essential bison zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libffi-dev''
  
 Install: Install:
   * [[https://github.com/postmodern/chruby|chruby]]   * [[https://github.com/postmodern/chruby|chruby]]
-  * [[https://github.com/postmodern/ruby-install#install|ruby-install]]+  * [[https://github.com/postmodern/chruby/wiki/Ruby|rubies]] 
 +  * <del>[[https://github.com/postmodern/ruby-install#install|ruby-install]]</del>
  
 Check ''.zshrc'' is ''source''ing ''/usr/local/share/chruby/chruby.sh'' and ''/usr/local/share/chruby/auto.sh'' for autoswitching.  Restart terminals. Check ''.zshrc'' is ''source''ing ''/usr/local/share/chruby/chruby.sh'' and ''/usr/local/share/chruby/auto.sh'' for autoswitching.  Restart terminals.
ubuntu/chruby.1648714400.txt.gz · Last modified: 2022/03/31 08:13 by slack