After installing ruby with rails , I got few error to install gems packages manager seems to be broken. Everytime you try to use gem install gem_name, you get the following error:
ERROR: While executing gem ... (Gem::GemNotFoundException)
I do the step below to upgrade rubygems, it will fine
gem install rubygems-update update_rubygems
Now I can install gems whatever I needed.