Created
July 21, 2015 12:37
-
-
Save sk187/610dc0a281ed20e045d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First type this into your terminal. *You must already have homebrew installed | |
brew install ruby | |
# After installing ruby, we need to edit the path on your computer so it uses | |
# the new installation of ruby and not the one packaged with your computer. | |
# Type the following into your terminal to edit the paths with VIM | |
sudo vi /etc/paths | |
# It will ask for your password (the one you used to login / install programs) | |
# Just type it in and press enter *You will not see anything but you are entering something I promise. | |
# This is what you will probably see | |
/usr/bin | |
/bin | |
/usr/sbin | |
/sbin | |
# We need to edit the paths to look like this: | |
/usr/local/bin # This is where your brew installed programs are | |
/usr/bin # This is where the system version of Ruby is | |
/bin | |
/usr/sbin | |
/sbin | |
# Once you have made these changes, you need to hit ESC, then :w (write) to save the file | |
# Once saved, you can type :q (quit) to exit the text editor | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment