Skip to content

Instantly share code, notes, and snippets.

View p8's full-sized avatar

Petrik de Heus p8

View GitHub Profile
dteoh /
Created November 22, 2019 01:18
Installing mysql2 gem

Installing mysql2 gem

This is always an annoying process, especially when you are setting up a new computer. I assume you are using macOS + homebrew. I also assume that you want to run an older version of MySQL (although the instructions should be adaptable).

Installing MySQL

$ brew install mysql@5.7 # change the version if needed
# This is the complete source code to Flappy Dragon:
# You can tinker with this by getting a copy of DragonRuby Game Toolkit:
# Amir Rajan wrote this game, catch him at !
class FlappyDragon
attr_accessor :grid, :inputs, :game, :outputs