Problem with downgrading rails version (from v5.0.1 to v4.2.3)

Hello,
I installed Ruby v2.3.3 and Rails v5.0.1 using the latest RailsInstaller
available, on several Windows machines (Win XP, Win 7, Win 10, both
32/64 bit).

Then, I run gem install rails -v 4.2.3.
But the Rails version reported is still 5.0.1. Always!

Any help?

I managed to find the appropriate commands, which performed the job
successfully

  • gem uninstall rails
  • gem uninstall railties
  • gem install rails -v 4.2.3