install this: https://github.com/parkr/ruby-build-github
And then install the ruby version 2.1.7 rbenv install 2.1.7-github
go in the folder of your website. Run:
rbenv local 2.1.7-github
This will set the ruby version of your project to 2.1.7.