Thanks to my brother for figuring out how to get the red gem. Link to game: http://arcade.equestriagaming.com/2012/07/mine-escape.html