bear-metal / tunemygc

TuneMyGC - optimal MRI Ruby 2.1+ Garbage Collection
https://www.tunemygc.com
346 stars 25 forks source link

Script example should be standalone #41

Open wconrad opened 7 years ago

wconrad commented 7 years ago

The script example should be standalone, able to run without any gems that need configuration and without needing a connection to a database (or anything else). This would:

It is the use of the queue_classic gem that causes trouble here. Ideally, the example should use no gems other than tunemygc, but any gems the example does use should need no configuration or connections to anything.

It would also be useful if the script included a comment or shebang with the Ruby version that you tested it with. This would help to eliminate a question in my mind when I'm trying to get things to work ("Is my problem because of the version of Ruby I'm using? Let's run the example with the exact same Ruby mentioned in the shebang and find out.")