jordansissel / heroku-buildpack-meteor

a heroku buildpack for meteor (meteor.com)
588 stars 264 forks source link

Push rejecting due to bad buildpack(?) #41

Open jmwierzbicki opened 8 years ago

jmwierzbicki commented 8 years ago

Aplication was pushed for first time without issues, everything worked fine, but when i made some updates to code, and commited>pushed, following appeared:

remote: Compressing source files... done. remote: Building source: remote: remote: -----> Fetching set buildpack https://github.com/maxko87/heroku-buildpack-meteor.git... done remote: remote: ! Push rejected, failed to detect set buildpack https://github.com/maxko87/heroku-buildpack-meteor.git remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure remote: remote: Verifying deploy... remote: remote: ! Push rejected to myappname. remote: To https://git.heroku.com/myappname.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/myappname.git'

jordansissel commented 8 years ago

remote: ! Push rejected, failed to detect set buildpack https://github.com/maxko87/heroku-buildpack-meteor.git

This is not the same repo. Maybe open this issue on https://github.com/maxko87/heroku-buildpack-meteor/issues ? I don't know otherwise.

TomasDePomas commented 8 years ago

I don't know if this is still an issue, but I had the same error with Jordansissel's builpack. Just for future refference, make sure you do NOT put the .meteor folder in your gitignore. The buildpack needs it to recognize your project as being a meteor project.

Hope this helps someone who runs into the same problem in the future, haven't found this solution anywhere else so far.

("why would you ever put your .meteor folder in the gitignore?" "I don't know.. because I am an idiot..")

maxko87 commented 8 years ago

@TomasDePomas, thanks for the tip!

martriay commented 8 years ago

@TomasDePomas 's solution worked for me!