RbEnv: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="bash"> cat << EXE | sudo bash apt-get update;echo apt list -a --upgradable apt-get install -y build-essential libssl-dev libffi-dev libgmp3-dev libpq-dev EXE curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash </syntaxhighlight> ==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> type rbenv rbenv versions </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> rbenv install -l rbenv inst...")
 
Line 66: Line 66:
{|
{|
| valign="top" |
| valign="top" |
* [https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-22-04 RbEnv » Install Ruby on Rails]
* [https://github.com/rbenv/ruby-build RbEnv » Ruby Build]
* [https://github.com/rbenv/ruby-build RbEnv » Ruby Build]
* [https://github.com/rbenv/rbenv-installer RbEnv » Installer]
* [https://github.com/rbenv/rbenv RbEnv]
* [https://github.com/rbenv/rbenv RbEnv]



Revision as of 07:26, 28 November 2024

cat << EXE | sudo bash
apt-get update;echo
apt list -a --upgradable
apt-get install -y build-essential libssl-dev libffi-dev libgmp3-dev libpq-dev
EXE

curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash

Playground

type rbenv
rbenv versions
rbenv install -l
rbenv install -L
rbenv install --list
rbenv install --list-all

rbenv version
rbenv install 3.2.1
rbenv versions
rbenv local 3.2.1
rbenv which irb
rbenv global 3.2.1

References