remote rejected master -> master (pre-receive hook declined) heroku
<p>I recieve an error while pushing rails code to heroku.</p>

<pre><code>Counting objects: 20, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (20/20), 1.75 KiB | 0 bytes/s, done.
Total 20 (delta 15), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: !   Could not complete the action. Please try again later.
remote: 
To https://git.heroku.com/dishcuss-api.git
 ! [remote rejected] master -&gt; master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/dishcuss-api.git'
</code></pre>

<p>I have tried the few methods , including rollback heroku and git pull , but it didn't work for me.</p>