Remove string interpolation inside of path string
Remove string interpolation inside of path string

The interpolation caused a "Possible command injection" warning from Brakeman.
@mo-nathan noted:
> Brakeman doesn't like string interpolation inside of strings that get used as paths.  In this case the attacker would have to override the value for ::Rails.root which sounds tricky, but who knows.  What it is encouraging you to do is to use File.join rather than string interpolation.  If you replace the assignment of "script" with "script = File.join(::Rails.root, "script", "jpegsize")", I believe the brakeman issue will go away.  Note this is also more portable between operating systems which admittedly is very unlikely in the case of MO, but it is a better way to do thing

JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer