Skip to content

Instantly share code, notes, and snippets.

@clonn
Last active December 5, 2023 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clonn/10853832 to your computer and use it in GitHub Desktop.
Save clonn/10853832 to your computer and use it in GitHub Desktop.
node.js installation and ruby installation, shell.
#!/bin/sh
#need to install redis and mysql
# MacOS env
brew install redis
brew install mysql
brew install zmq
cd ~/
curl https://raw.github.com/creationix/nvm/v0.4.0/install.sh | sh
# need source to ~/.bashrc
source ~/.nvm/nvm.sh
echo "source ~/.nvm/nvm.sh" >> ~/.bashrc
nvm install v0.10.22
nvm use 0.10.22
nvm alias default 0.10.22
npm install -g grunt-cli
npm install -g bower
npm install -g coffee-script
npm install -g sails@beta
npm install -g gulp
npm install -g mocha
#node installed done
#ruby
curl -L https://get.rvm.io | bash -s stable --ruby
echo "source /etc/profile.d/rvm.sh" >> ~/.bashrc
#ruby install
rvm install 1.9.3
rvm use 1.9.3
rvm 1.9.3 --default
rvm rubygems latest
gem update --system
gem install bootstrap-sass
gem install compass
@esbb48
Copy link

esbb48 commented Jul 24, 2014

rvm install ruby-1.9.3-p448 --with-gcc=clang

@Negaihoshi
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment