This is a pretty horrible workaround for: a) Launchpad build farm doesn't allow outbound connectivity during builds. So `go get` fails. b) Precise doesn't support `dh-golang` which automates some of this for us. Stuff the only dependency into a patch and apply it during build time. I've intentionally included the `.git` directory so that we have some record of WTH version it is.
Added as a build dependency so that autoconf picks it up from inside the chroot. This will fix psych and the warning: /usr/lib/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby.
Installs Ruby to a prefix directory. The parent of which is owned by the rbenv package, which is listed as a dependency. Package name contains the entire version string so that we can have multiple unique versions (e.g. 1.9.2-p290, 1.9.2-p320, 1.9.3-p392) in the same repo. This version of Ruby ships with rubygems 1.8.23 and thus doesn't need an updated version.