I am using ruby version 2.7.5 & rails version 6.
Trying to generate a json apis for postman. Apis are build using Grape.
apipie_postman is configured according to the description but when I run bundle exec rake apipie_postman I got below error
warning: parser/current is loading parser/ruby27, which recognizes warning: 2.7.2-compliant syntax, but you are running 2.7.5. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. WARNING: Use strings for Figaro configuration. 5432 was converted to "5432". WARNING: Use strings for Figaro configuration. 10 was converted to "10". WARNING: Use strings for Figaro configuration. 683002007104225 was converted to "683002007104225". WARNING: Use strings for Figaro configuration. 6379 was converted to "6379". WARNING: Use strings for Figaro configuration. 12382 was converted to "12382". WARNING: Use strings for Figaro configuration. 123456 was converted to "123456". rake aborted! Errno::ENOENT: No such file or directory @ rb_sysopen - doc/apipie_examples.json /home/user/project/lib/tasks/apipie_postman.rake:4:inblock in '
/home/user/.rbenv/versions/2.7.5/bin/bundle:23:in load' /home/user/.rbenv/versions/2.7.5/bin/bundle:23:in'
Tasks: TOP => apipie_postman
(See full trace by running task with --trace)`
I am using ruby version 2.7.5 & rails version 6. Trying to generate a json apis for postman. Apis are build using Grape. apipie_postman is configured according to the description but when I run
bundle exec rake apipie_postman
I got below errorwarning: parser/current is loading parser/ruby27, which recognizes warning: 2.7.2-compliant syntax, but you are running 2.7.5. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. WARNING: Use strings for Figaro configuration. 5432 was converted to "5432". WARNING: Use strings for Figaro configuration. 10 was converted to "10". WARNING: Use strings for Figaro configuration. 683002007104225 was converted to "683002007104225". WARNING: Use strings for Figaro configuration. 6379 was converted to "6379". WARNING: Use strings for Figaro configuration. 12382 was converted to "12382". WARNING: Use strings for Figaro configuration. 123456 was converted to "123456". rake aborted! Errno::ENOENT: No such file or directory @ rb_sysopen - doc/apipie_examples.json /home/user/project/lib/tasks/apipie_postman.rake:4:in
block inload' /home/user/.rbenv/versions/2.7.5/bin/bundle:23:in