I made a Mock GPRC server based on the TA2-TA3 API.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Note: if homebrew is already install, run brew update
brew install rbenv ruby-build
Run rbenv init
and follow instructions for updating your PATH
rbenv install 2.4.2
rbenv global 2.4.2
rbenv version
git clone git@github.com:uwgraphics/mock-ta2.git
cd mock-ta2
gem install bundler
bundle
bundle exec gruf
The port is set in config/initializers/gruf.rb
if you need to change it.
The magic happens in app/rpc/core_controller.rb
.