Gem::Ext::BuildError: ERROR: Failed to build gem native extension

Have new laptop, fresh install of OS (LinuxMint 18.1). Installed rvm and ruby 2.4.0

Have used Middleman (MM) with success and delight for several years, but I’m a psychotherapist not a CS professional. I am encountering an error in the MM install process that is way over my head to fix.

Here’s the terminal output:

Would much appreciate help in getting past this. I badly need to get back to work on my website.

Thanks so much for any help offered.

No help on this? Not even a suggestion about where to find help? I’m surprised, frankly. Didn’t think it was a dumb question. Not to me, anyway.

I got a similar error, did you fix it?