git clone https://github.com/shimroz1992/demo-driver.git
cd demo-driver
ruby -v
The ouput should start with something like ruby 3.1.2
If not, install the right ruby version using rvm (it could take a while):
rvm install "ruby-3.1.2"
Using Bundler:
bundle
In database.yml file, edit the database configuration as required.
rails db:create db:migrate db:seed
rails s
And now you can visit the site with the URL http://localhost:3000/api-docs/index.html
if you create changes in spec folder run below command
rake rswag:specs:swaggerize
Demo