Can't install bundler using gem
For future reference, use a newer version of bundler - disabling a core security feature of the operating system is a Bad Idea and will leave your machine vulnerable.
sudo gem install -n /usr/local/bin bundler
Use rbenv (or rvm if you prefer, I don't). If you ever have to use sudo
while installing/upgrading a gem then you're walking towards trouble, if not already there.