Last active
December 5, 2023 04:11
-
-
Save clonn/10853832 to your computer and use it in GitHub Desktop.
node.js installation and ruby installation, shell.
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
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rvm install ruby-1.9.3-p448 --with-gcc=clang