I'm submitting a bug report to jsonapi-resources
. Their issue template asks that I create a MCVE using their template. This looks like a self-contained script for a rails-based project. I've only ever run similar code as an actual rails project with separate files and using rails server
. My question is, how do I run this self-contained script?
Asked
Active
Viewed 59 times
2

riQQ
- 9,878
- 7
- 49
- 66

Code-Apprentice
- 81,660
- 23
- 145
- 268
1 Answers
1
I ran it with
ruby <filename>
It seems to programmatically install gems.

Code-Apprentice
- 81,660
- 23
- 145
- 268
-
1This is correct. ActiveRecord and PaperTrail have similar bug report templates, using `bundler/inline` (pretty cool huh?) and this is the correct way to run them. – Jared Beck Feb 09 '22 at 21:43