sudo apt-get update
sudo apt-get install -y curl
curl -sSL https://git.io/vVHhe | bash
curl -sSL https://git.io/vVHhf | bash
curl -sSL https://git.io/vVHhJ | bash
Or use Ruby China mirror site for RubyGems and Rubymysql
MIRROR=1 curl -sSL https://git.io/vVHhJ | bash
run this to checkgit
ruby -v
rvm -v
curl -sSL https://git.io/vVHhT | bash
curl -sSL https://git.io/vVHhk | bash
curl -sSL https://git.io/vVHhm | bash
sudo service elasticsearch status
curl -sSL https://git.io/vPypp | bash
sudo docker info
git clone https://github.com/xxxx.xxxx.git
cd library_xxxx/
bundle install
apt-get install mysql-server
rake db:create
rake db:migrate
whenever -i
rails server