All of the following information is based on go version go1.8.3 darwin/amd64
.
(Bold = supported by go
out of the box, ie. without the help of a C compiler, etc.)
android
darwin
RAILS_ENV=production | |
RAILS_ROOT=/home/deploy/apps/app/current | |
USER=deploy | |
START_CMD="/home/deploy/.rbenv/shims/bundle exec unicorn -c config/unicorn.rb -E production -D" | |
UNICORN_CONFIG=$RAILS_ROOT/config/unicorn.rb | |
PID="/home/deploy/shared/pids/unicorn.pid" |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl http://npmjs.org/install.sh | sh |
# go to jdk1.6's home | |
cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home | |
# check your correct java version installed before running this command | |
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_22-b04-314.jdk/Contents/Home/src.jar src.jar | |
# now your Eclipse IDE can find and define both the source and doc for its jvm, yupi! ;-) |