Don't use system ruby on OSX because it's hooked into everything.
Ruby 3.0.0 does not work with newer versions of mySQL, use 2.7.0
\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install 2.7.0
gem install bundler
brew install imagemagick
bundle install
cd /app
npm i
A simple command line runner is available to create either a single or 100 glitched images. A random image will be selected from /input and the resulting glitch will be put in /output
./runner.rb
ruby server/app.rb