Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw
is officially deprecated and removed in OS X Yosemite. Pow requires another program pf
to handle the port forwarding.
Create file /etc/pf.anchors/pow
GEM | |
remote: http://rubygems.org/ | |
specs: | |
actionmailer (3.2.6) | |
actionpack (= 3.2.6) | |
mail (~> 2.4.4) | |
actionpack (3.2.6) | |
activemodel (= 3.2.6) | |
activesupport (= 3.2.6) | |
builder (~> 3.0.0) |
echo "Installing software packages..." | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y install build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev libmysqlclient-dev | |
echo "Downloading Ruby 2.0..." | |
mkdir /tmp/ruby && cd /tmp/ruby | |
curl --progress http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz | tar xz | |
cd ruby-2.0.0-p0 |
Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw
is officially deprecated and removed in OS X Yosemite. Pow requires another program pf
to handle the port forwarding.
Create file /etc/pf.anchors/pow
### Keybase proof | |
I hereby claim: | |
* I am zhoutong on github. | |
* I am ryanzhou (https://keybase.io/ryanzhou) on keybase. | |
* I have a public key whose fingerprint is 299E E0EC 866F 55E6 3A50 4D62 E997 4F11 D5A1 1257 | |
To claim this, I am signing this object: |
0xa4d1c4355ae6e254c1d1a2e0e47476fe9785b222 |
I hereby claim:
To claim this, I am signing this object: