Aug 6, 2013

Update Ruby (To Latest Patch) Using RVM (Ruby Version Manager)

Disclaimer: This tutorial is tested on OS X, so it will work (90%) in Linux but I haven't test it on Windows. But the commands and steps is much likely the same on Windows. Work only if Ruby is installed via RVM.
  1. Find out your Ruby version first using ruby -v
  2. Open http://www.ruby-lang.org/en/downloads/ and look for the patch written here "pxxx


















If your ruby version isn't the latest patch, follow this step:
  • Write command
  • rvm upgrade [installed_ruby] [latest_patch_ruby]
    e.g
    rvm upgrade 1.9.3-p194 1.9.3-p448
  • The installation will take a few minutes based on your bandwidth speed
  • For every question just answer with Y if you want default configuration
  • Now write ruby -v again and watch your ruby has upgraded into latest patch

No comments:

Post a Comment