You installed rbenv and ruby-build via homebrew.
- Open a terminal.
curl https://gist.github.com/prsimp/4773603/raw/upgrade_385.sh | sh- Drink some coffee or do something while Ruby compiles.
- Profit!
- If you see an error from homebrew complaining about "untracked working files" run this command:
cd $(brew --repository) && git fetch origin && git reset --hard origin/master && cd -
- Updates your
homebrewformulae - Upgrades
rbenvto0.4.0if you haven't already. - Upgrades
ruby-buildif you haven't already. - Installs
ruby 1.9.3p385and sets it as your default global Ruby (aren't we presumptious!) - Installs the
bundlerandrailsgems globally. - Prints a message about making sure to install bundler and bundle for all apps.
Paul, can you update the docs to also install "debugger" as a gem. I noticed that installing from bundler fails but installing manually was fine. It might just be a Gemfile.lock dependency that we need to bump up.