Heroku deploy of Gulp + Compass is not working at boilerplate stage -
i using gulp boilerplate here , buildpack here. anyway, want deploy clean boilerplate , no such code. think should work adding buildpack heroku buildpacks:add ${url}. doesn't work, giving me output:
c:\users\dawid\desktop\harvest>git push heroku master counting objects: 541, done. delta compression using 8 threads. compressing objects: 100% (245/245), done. writing objects: 100% (541/541), 147.00 kib | 0 bytes/s, done. total 541 (delta 261), reused 532 (delta 260) remote: compressing source files... done. remote: building source: remote: remote: -----> fetching custom git buildpack... done remote: -----> node.js app detected remote: remote: pro tip: specify node version in package.json remote: see https://devcenter.heroku.com/articles/nodejs-support remote: remote: -----> defaulting latest stable node: 0.12.3 remote: -----> downloading , installing node remote: -----> exporting config vars environment remote: -----> installing dependencies remote: npm warn package.json yourproject@0.0.1 no repository field. remote: -----> cleaning node-gyp , npm artifacts remote: -----> procfile not found , npm start script undefined remote: remote: pro tip: create procfile or specify start script in package.j son remote: see https://devcenter.heroku.com/articles/nodejs-support remote: remote: -----> installing sass / compass / haml remote: warning: don't have /tmp/build_a4c003166016ef188ee84e9068b95aec/.ge m/ruby/2.2.0/bin in path, remote: gem executables not run. remote: installed sass-3.4.14 remote: 1 gem installed remote: warning: don't have /tmp/build_a4c003166016ef188ee84e9068b95aec/.ge m/ruby/2.2.0/bin in path, remote: gem executables not run. remote: building native extensions. take while... remote: installed ffi-1.9.8 remote: installed rb-inotify-0.9.5 remote: installed rb-fsevent-0.9.5 remote: installed chunky_png-1.3.4 remote: installed sass-3.4.14 remote: installed compass-import-once-1.0.5 remote: installed compass-core-1.0.3 remote: compass charityware. if love it, please donate on our behalf @ http://umdf.org/compass thanks! remote: installed compass-1.0.3 remote: 8 gems installed remote: warning: don't have /tmp/build_a4c003166016ef188ee84e9068b95aec/.ge m/ruby/2.2.0/bin in path, remote: gem executables not run. remote: installed tilt-2.0.1 remote: remote: heads up! haml 4.0 has many improvements, has changes may break remote: application: remote: remote: * support ruby 1.8.6 dropped remote: * support rails 2 dropped remote: * sass filter outputs <style> tags remote: * data attributes hyphenated, not underscored remote: * html2haml utility moved html2haml gem remote: * textile , maruku filters moved haml-contrib gem remote: remote: more info see: remote: remote: http://rubydoc.info/github/haml/haml/file/changelog.md remote: remote: installed haml-4.0.6 remote: 2 gems installed remote: -----> caching ruby gems directory future builds remote: -----> found gulpfile remote: -----> running gulp heroku: task remote: /tmp/buildpack_a4c003166016ef188ee84e9068b95aec/bin/compile: line 168: / tmp/build_a4c003166016ef188ee84e9068b95aec/node_modules/.bin/gulp: no such file or directory remote: remote: ! push rejected, failed compile node.js app remote: remote: verifying deploy... remote: remote: ! push rejected calm-badlands-5771. remote: https://git.heroku.com/calm-badlands-5771.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed push refs 'https://git.heroku.com/calm-badlands-5771.gi t'
your ruby/compass installation on heroku must out of date. had update mine 2.2.0 compass work using custom buildpack grunt-nodejs-compass https://github.com/devakone/heroku-buildpack-nodejs-grunt-compass
you can take @ https://github.com/devakone/heroku-buildpack-nodejs-grunt-compass/blob/master/bin/compile file line 153 export gem_home=$build_dir/.gem/ruby/2.2.0
make sure gem_home variable points ruby 2.2.0 directory.
Comments
Post a Comment