I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis
onto
the box and here's how I did it and some things to look
out for.
To install:
#!/usr/bin/env bash | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
# a reboot after is often a good idea | |
sudo apt-get -y install build-essential libffi-dev libgdbm-dev libreadline6-dev libssl-dev libxml2 libxml2-dev libxslt-dev libyaml-dev ncurses-dev zlib1g zlib1g-dev | |
RUBY_VERSION="1.9.3-p194" | |
mkdir ~/src | |
cd ~/src |
How to compile Gitx:
~/Library/Developer/Xcode/DerivedData/GitX-fpvndnywvssxinenuifhoszinvmk
){FOLDER}/Build/Products/Debug/GitX.app
# encoding: utf-8 | |
STDOUT.sync = true | |
STDERR.sync = true | |
require 'pathname' | |
at_exit do | |
if (e = $!) && !e.instance_of?(SystemExit) | |
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape" |