Downgrade dependency versions of Rails gems