This file contains 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
user www-data; | |
worker_processes 10; | |
pid /var/run/nginx.pid; | |
events | |
{ | |
worker_connections 1024; |
This file contains 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
newshinymac:~ yangtheman$ /Developer/usr/bin/xcodebuild -version | |
Xcode 4.2 | |
Build version 4D199 | |
newshinymac:~ yangtheman$ brew install ntfs-3g | |
==> Installing ntfs-3g dependency: pkg-config | |
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.27 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig | |
==> make | |
==> make check |
This file contains 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
# http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ | |
sudo apt-get install build-essential git-core curl | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc | |
source .bashrc |
This file contains 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/bash | |
echo "Installing Kids Ruby!" | |
sudo apt-get install git | |
# rbenv | |
cd | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo `export PATH="$HOME/.rbenv/bin:$PATH"` >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile |
NewerOlder