@shreyas_satish @Netlify I'm not a @jekyllrb expert, but you can specify which version of ruby to use in @netlify and specify which version of Jekyll to use in your Gemfile.
https://www.netlify.com/docs/continuous-deployment/#set-node-ruby-or-python-version