lmkatexas.blogg.se

Download ruby development
Download ruby development






Restart the Terminal, or write: 1 source ~/.bash_profile Next, we are ready to install rbenv: 1 brew install rbenv 2 rbenv init 3 echo 'if which rbenv > /dev/null then eval "$(rbenv init -)" fi' > ~/.bash_profile In order to install rbenv we need to install Homebrew first: 1 /usr/bin/ruby -e "$(curl -fsSL )" The idea is to keep the system Ruby untouched and have a more modern version available. Easiest way to have an up-to-date Ruby installed on macOS is to install rbenv which will let you chose between Ruby installations. However, latest stable version of Ruby, 2.5.1, is faster and more up-to-date. Once the Command Line Tools are installed you will have a relatively new version of Ruby installed on your machine, 2.3 at the time of this writing.

download ruby development

Open a Terminal and write: 1 xcode-select -install

download ruby development

Please note, that you will need the Command Line Tools even if you’ve already installed Xcode. Start by installing the Command Line Tools for macOS. In this article I will show you how to install the latest stable version of Ruby, which is 2.5.1 at the time of this writing, on macOS, Windows 10 and Ubuntu 18.04. Solarian Programmer My programming ramblings Home Archives Contact Privacy Install Ruby 2.5 on macOS, Windows 10 and Ubuntu 18.04 Posted on Septemby Paul








Download ruby development