"build.command" failed for middleman


I’m having difficulties deploying my middleman site on netlify. I recently did a gem update and bundle update, and now I am getting the following error:

12:12:06 PM: “build.command” failed
12:12:06 PM: ────────────────────────────────────────────────────────────────
12:12:06 PM: ​
12:12:06 PM: Error message
12:12:06 PM: Command failed with exit code 1: middleman deploy
12:12:06 PM: ​
12:12:06 PM: Error location
12:12:06 PM: In Build command from Netlify app:
12:12:06 PM: middleman deploy
12:12:06 PM: ​
12:12:06 PM: Resolved config
12:12:06 PM: build:
12:12:06 PM: command: middleman deploy
12:12:06 PM: commandOrigin: ui
12:12:06 PM: publish: /opt/build/repo/build

I have a feeling it has to do with my sassc 2.4.0 update because its taking so long to deploy, but when I try to manually go back and update my gems the whole deploy breaks.

It’s been a LONG time since I’ve coded. Please advise!!

hey there, sorry to be slow to deploy. does this work locally? Error message 1 usually means that a dependency is missing. is middleman included in your package.json?

Try changing your build command to middleman build instead of middleman deploy