Tag: heroku

Heroku application changes are deployed with a delay

I have a problem with my production deployment to Heroku. Staging/testing deployment works fine: git push staging master I.e. I can’t see my changes instantly But production doesn’t: git push production master Deployment is successful, but my changes are not instant. All files I’ve change are there. Cleaning the cache doesn’t help: heroku repo:purge_cache I’ve […]

`git push heroku master` fails because it is using the wrong email address

I created a rails app with $ rails new appname $ cd appname I initialized it as a git repo $ git init $ git add . $ git commit -m ‘init’ I logged into heroku $ heroku login Email: correct@email.com Password (typing will be hidden): I created the heroku app $ heroku create Creating […]

Deleted files locally but cannot push changes to heroku

I had some files that were messing up my Heroku app so I decided to delete them locally. When I tried to push the changes to Heroku, it says that the files were deleted but there were no changes to commit. Also when I ran git push heroku master, it said everything was up to […]

Git workflow on Heroku

I am a “GIT newbie” as of starting with Heroku, and I’m interested in knowing what would be best practice in how to work with it. As of now my site has one production environment and one staging environment. However I’m only using the most basic GIT commands, i e: git add . git commit […]

heroku deployment testing

I have an app I’ve been upgrading to Rails 3, I’ve been hosting it on heroku for the past 6 months (rails 2.3.8 currently) but am unclear how to test my Rails 3 branch before I proceed. The most i could find about the subject in their docs was that I could do something like […]

Heroku automatic push to github with submodules

Heroku offers a beautiful deploy to from github to heroku automatically: But it also says: GitHub repos that use submodules will generally not deploy correctly on Heroku. This is because GitHub does not include submodule contents when repo-content tarballs are generated. Does that mean there is no workaround if I have submodules? For now the […]

How to input heroku credentials in Travis Ruby on Rails

Am working Ruby on Rails site, and I have implemented Travis CI with it and pushed to to GitHub, so as to Test my build before pushing to Heroku. When Travis parsed my github source code, I get an error asking me to input my Heroku Credentials before Travis can push to Heroku. What I […]

Checkout from Git and deploy to Heroku

I would like to clone a project from a Git server and then perform some tests and then deploy to Heroku. I have been able to get my project from Git, and then perform “bundle install” which does succeed. Leaving the middle tests part out, I am unable to deploy to Heroku. To deploy, I […]

Error while deploying to heroku: rake assets:precompile PG::ConnectionBad: could not connect to server: Connection refused

While trying to git push the application to heroku, i get this specific error: remote: Running: rake assets:precompile remote: PG::ConnectionBad: could not connect to server: Connection refused remote: Is the server running on host “127.0.0.1” and accepting remote: TCP/IP connections on port 5432? I tried to follow the steps of the article : https://devcenter.heroku.com/articles/rails-asset-pipeline#troubleshooting And […]

heroku git repo change

Muhammed-Bhikhas-MacBook-Pro:mashs_wing_ranch BH1KH4$ git remote -v heroku git@heroku.com:sleepy-cliffs-9120.git (fetch) heroku git@heroku.com:sleepy-cliffs-9120.git (push) origin git@heroku.com:gentle-bastion-5131.git (fetch) origin git@heroku.com:gentle-bastion-5131.git (push) When I run git remote -v, I get the wrong app for heroku. That is an app I had previously, how do I get the sleepy-cliffs-9120.git to change to my new app gentle-bastion-5131 ?

Git Baby is a git and github fan, let's start git clone.