Skip to content

Install rbenv and friends and update all of them when you want to ...

License

Notifications You must be signed in to change notification settings

botp/rbenv-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

rbenv installer

This tool is used to install rbenv and some plugins. Plugin repo of fesplugas has been replaced by botp (since the former repo is no longer existing).

Requirements

  • Git
  • Curl or wget

Install

Install rbenv and friends by running:

curl https://raw.githubusercontent.com/botp/rbenv-installer/master/bin/rbenv-installer | bash

or using wget

wget -qO - https://raw.githubusercontent.com/botp/rbenv-installer/master/bin/rbenv-installer | bash

after install, the script advises you to update your ~/.bash_profile to include the rbenv init shell settings/commands. just copy and paste the show text to your .bash_profile then source it using the ff

source ~/.bash_profile

enter rbenv

see if the command rbenv is responding

update rbenv after install

it is adviseable to update rbenv right after install

rbenv update

Bootstrap

If you are installing rbenv in Ubuntu you'll probably need to install some required packages. You can use the provided bootstrap scripts.

rbenv bootstrap-ubuntu-16-04

Finding a ruby version

rbenv install --list

Installing a Ruby

Install latest stable Ruby and make it global:

rbenv install 2.6.3
rbenv global 2.6.3

Updating

Update rbenv and plugins provided by the installer running:

rbenv update

About rbenv

rbenv source code is available at https://github.com/sstephenson/rbenv

About

Install rbenv and friends and update all of them when you want to ...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages