Last active
October 12, 2015 09:57
-
-
Save electricg/4009262 to your computer and use it in GitHub Desktop.
Installations
This file contains hidden or 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
#clone for the first time | |
git clone git://github.com/joyent/node.git | |
cd node | |
#update | |
cd node | |
git remote update | |
#switch to the branch with the most stable version - check on the website | |
#use 'git tag' to see the available versions | |
git checkout v0.8.14 | |
#install | |
./configure | |
make | |
make install | |
#verify the installation/version | |
node --version |
This file contains hidden or 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
#update system gem | |
sudo gem update --system | |
#update my gem | |
gem update --user-install --no-ri --no-rdoc | |
#how to install gem on my system | |
gem install --user-install --no-ri --no-rdoc nameofthegem | |
#add to .bash_profile | |
export PATH=$PATH:/Users/electric_g/.gem/ruby/1.8/bin |
This file contains hidden or 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
#https://rvm.io/rvm/install/ | |
#switch to the last one | |
rvm use 1.9.3 | |
#switch and set the mac default version | |
rvm use system --default | |
#see the version used | |
ruby -v | |
#list all the available versions | |
rvm list rubies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment