remote rejected master -> master (pre-receive hook declined)

后端 未结 21 1830
我在风中等你
我在风中等你 2020-11-30 01:31

I\'m working in rails 3.2 and I receive an error when I try to push to heroku:

 git push heroku master
Counting objects: 496, done.
Delta compression using u         


        
21条回答
  •  情深已故
    2020-11-30 02:15

    Mine finally worked somewhere along this road:

    1. Updating Git
    2. back to \my_first_rail_app\, type or run:
      • a. bundle install
      • b. bundle install --gemfile
      • c. bundle update
      • d. git add .
      • e. git commit -m "updates for heroku deployment"
      • f. git pust heroku master (still wont work with my case)
      • g. heroku buildpacks:set https://github.com/bundler/heroku-buildpack-bundler2

提交回复
热议问题