Try using Carton instead of realgud-pkg.el as suggested by Steve Purcell