git clone https://github.com/sohail272/contact-portal.git
cd project
ruby -v
The ouput should start with something like ruby 2.4.4
If not, install the right ruby version using rvm:
rvm install 2.4.4
Using Bundler:
bundle
rails db:create db:migrate
rails s
rspec