Install vagrant http://vagrantup.com/
$ vagrant up
$ vagrant ssh
Here are the prerequisite dependancies that need to be installed. I listed them as separate lines to make it easier to add and comment out packages.
$ sudo apt-get update $ sudo apt-get install ruby build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config vim
cd ~/ $ git clone git://github.com/sstephenson/rbenv.git .rbenv $ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ source .bash_profile
$ rbenv install 1.9.3-p327
$ rbenv rehash $ rbenv global 1.9.3-p327
$ gem install bundler $ rbenv rehash
$ git clone git://github.com/plamoni/SiriProxy.git ~/SiriProxy $ cd ~/SiriProxy $ mkdir ~/.siriproxy $ cp ./config.example.yml ~/.siriproxy/config.yml
$ rake install $ bundle install
$ bundle exec siriproxy gencerts
$ bundle exec siriproxy bundle
$ bundle exec siriproxy server
sudo ipfw add 100 fwd 127.0.0.1,4000 tcp from any to any 443 in