Deployment on Heroku fails

Hi,

I’m trying to deploy my Middleman project on Heroku, but it fails with this message:

rake aborted!
   Command failed with status (1): [middleman build...]
   /tmp/build_f1bd93af-e356-4c4a-8821-71af2544e44a/Rakefile:3:in `block (2 levels) in <top (required)>'
   Tasks: TOP => assets:precompile
   (See full trace by running task with --trace)
  ! 
  !     Precompiling assets failed.

Does anyone have a clue what the problem might be? I checked my Rakefile, and it looks like this:

namespace :assets do
  task :precompile do
    sh "middleman build"
   end
end

my repository is at: https://github.com/acandael/personal-site

Your help is appreciated,

Anthony

It seems you’re using fairy old version of Middleman (3.2.2). Is there any reason for that?

Hi Komor72, no particular reason, I just followed the instructions of this blogpost:

greetings,

Anthony

I haven’t used MM with blog plugin, so I can’t give you direct Gemfile tips, but try to make a fresh, empty project with blog gem active (details here) and look inside Gemfile on how current version of MM/blog looks like. Maybe this is some incompatibility with Heroku toolbelt?

Hi Komor72, good news, I upgraded my Middleman gem from 3.2.2 to 3.3.3 and was able to deploy my Middleman project on Heroku:

http://morning-inlet-7066.herokuapp.com/

thanks for your help,

Anthony