Skip to content

Instantly share code, notes, and snippets.

@electricg
Last active October 12, 2015 09:57
Show Gist options
  • Save electricg/4009262 to your computer and use it in GitHub Desktop.
Save electricg/4009262 to your computer and use it in GitHub Desktop.
Installations
#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
#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
#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