ruby v was not correct in gemfile therefore changed the ruby version