Add quotes around $HOME b/c path may have spaces
Don't use Homebrew for rbenv

* Use the same Git/GitHub approach for Mac as we do for Linux.
* This makes upgrading easier via `git pull`.
* Add idempotency `if` guards.
* Use bash-preferred bracket-bracket style.

http://robots.thoughtbot.com/the-unix-shells-humble-if
Fixes rbenv component path in the manifest files

Commit bc5a7c6 changed how rbenv is installed
("Use the same Git/GitHub approach for Mac as we do for Linux."),
but was missing the changes in the manifest files.

This commit fixes the corresponding manifest files.
Install Postgres via Hombrew bottle

Upstream maintainers put thought into what is
and what isn't sensible to include by default.
Those decisions establish a de facto standard
that is broader in scope than Laptop:
Homebrew users, library users, etc.

The further we stray from the defaults,
the more likely we are to run into problems,
and those problems will be harder.

The most widely experienced, most urgent,
and most rapidly fixed problems will be
problems with installing using formula defaults.
Problems from using non-defaults are relatively lonely.

Also, Homebrew bottles are awesome:

https://github.com/Homebrew/homebrew/wiki/FAQ#why-do-you-compile-everything

Using options forces an install from source rather than a bottle,
which is much, much slower:

> Options were passed to the install command i.e. `brew install
> $FORMULA` will use a bottled version of `$FORMULA`, but `brew install
> $FORMULA --enable-bar` will trigger a source build.
Check for .zshrc.local before appending .zshrc
Create append_to_zshrc()
Re-order manifest build order
Remove explicit new line addition

Relies on `append_to_zshrc` to add a new line after the appended text.

`append_to_zshrc()` will accept a second argument (`boolean`) to skip the new
line before the appended text, by default a new line will always be prepended.
Apple renamed "Mac OS X" to simply "OS X" with Mountain Lion (2012)

Sources:

* http://en.wikipedia.org/wiki/OS_X
* http://www.macrumors.com/2012/02/16/apple-officially-drops-mac-name-from-os-x-mountain-lion/
* http://www.theverge.com/2012/2/16/2802281/apple-officially-renames-mac-os-x-to-os-x-drops-the-mac
Declare support for OS X Yosemite
Drop Linux support

We don't have anyone at thoughtbot using the supported Linux versions,
which makes supporting those versions difficult:

https://github.com/thoughtbot/laptop/issues/302
https://github.com/thoughtbot/laptop/issues/242

The majority of the code in the project deals with Linux
or with the need to support multiple operating systems.
Restrict .gitignore to only Vim files

No need to ignore Vagrant-related, Ruby-related, and other files
now that we are not supporting Linux.
Link to Yosemite marketing page
Only change to zsh if it is not the shell

`chsh` requires a password input, which we want to avoid where possible.
Don't use /etc/zshrc

* Using zshrc causes path_helper to override PATH from zshenv
* We set up rbenv among other things in zshenv

https://github.com/thoughtbot/dotfiles/pull/307
Changes heroku-config plugin url to use https

Many corporate firewalls block the git:// protocol.
Changing this URI to use https:// makes it usable for more people.
The other Git URIs are all using https://.
This was previously the only exception.
Make rbenv idempotent, install Ruby 2.1.4

* Don't repeat ourselves by using variables.
* Use more consistent variable naming and use of `local` in functions.
* Use `snake_case` for variable names and `ALLCAPS` for environment variables.
  https://github.com/thoughtbot/guides/tree/master/style#shell
* Use Bash double-bracket.
* Set current shell to newest Ruby version.
* Don't install `--pre` version of Bundler.

https://www.ruby-lang.org/en/news/2014/10/27/ruby-2-1-4-released/
Fix typo

https://github.com/thoughtbot/laptop/issues/319
Add $HOME/.rbenv to $PATH even if it's installed
Remove rbenv-gem-rehash plugin installation

This plugin was merged into rbenv
https://github.com/sstephenson/rbenv/pull/638