-
resove the locale issue
locale-gen en_US en_US.UTF-8
andsudo locale-gen UTF-8
-
Permission denied while updating apt source with created user => use root user
ssh root@MYIP
and do it again and quit -
Need
sudo
to edit/etc/nginx/nginx.conf
-
Install Git
apt-get install git
-
Install dependencies
sudo apt-get install memcached mongodb redis-server imagemagick
-
Certificate error with taobao mirror
https://ruby.taobao.org
=> comment out taobao mirror because its's on DigitalOcean or just use http -
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. => Install nodejs
sudo apt-get install nodejs
-
cp config/config.yml.default config.yml
-
cp ./config/redis.yml.default ./config/redis.yml
-
cp ./config/mongoid.yml.default ./config/mongoid.yml
-
cp ./config/secrets.yml.default ./config/secrets.yml
Created
May 26, 2015 12:43
-
-
Save fraserxu/bed299af6f34cbfeee59 to your computer and use it in GitHub Desktop.
setup ruby-china on DigitalOcean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment