Make rbenv idempotent, install Ruby 2.1.4

* Make better use of variables.
* Use more consistent variable naming and use of `local` in functions.
* 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/
We had some other `ALLCAPS` `local`s in this file so I was trying to be consistent. Forgot about the style guideline. I'll go the other direction and fix the other `ALLCAPS` `local`s.