Revert "Upgrading ruby version and also some gems."

This reverts commit 60c1780fd07d55761a3d424b62a21077cc241f74.