What’s the correct way to rename a heroku app?
Did you try heroku apps:rename NEWNAME?
Did you try heroku apps:rename NEWNAME?
Also, If you’ve never used heroku before on the other machine, you’ll need to do a few more things first: $ gem install heroku $ heroku login [then enter your credentials] $ heroku keys:add [path to keyfile] Now you can clone the remote repository: $ git clone git@heroku.com:<heroku_app>.git <local_directory>
If you have a build going into production right now and need to stop it quickly: heroku plugins:install heroku-builds heroku builds:cancel -a YOUR_HEROKU_APP_NAME
Copy and paste heroku login -i in your terminal. This is what solved it for me.
The command app:info no longer seems to be a heroku command but just info will do the same thing so: heroku info -s | grep web_url | cut -d= -f2 or to set the variable heroku config:set HEROKU_URL=$(heroku info -s | grep web_url | cut -d= -f2)
This typically indicates either that the user’s network was disconnected (e.g. this happens with some frequency for mobile users) or the end-user closed their browser or similar (e.g. pressed Stop, went to a different page, etc). You can safely ignore those that are tagged as being client-end in nature with “sock=client”, but might want to … Read more
I noticed a new ps:stop command added to the Heroku command line client a few days ago: https://github.com/heroku/heroku/commit/a6d9eb7f314bf2c5f162a508e8d764286fb577bb I’m not sure if that change made it into version 2.9.0 but it would be worth a try. Update This is now in the Heroku Toolbelt. Just run: heroku ps:stop <process id from heroku ps> Example: heroku … Read more
For my case, heroku restart worked.
You could use two Procfiles (e.g. Procfile and Procfile.dev) and use foremans -f option to select a different one to use in dev: In dev (Procfile.dev contains your shotgun web process): foreman start -f Procfile.dev In production, foreman start will pick up the normal Procfile. Alternatively you could create a bin directory in your app … Read more
Heroku’s asset plugins no longer work since Rails 4 does not support plugins. You need to use Heroku’s asset gems instead. Place this in your Gemfile: group :production do gem ‘rails_log_stdout’, github: ‘heroku/rails_log_stdout’ gem ‘rails3_serve_static_assets’, github: ‘heroku/rails3_serve_static_assets’ end Follow Heroku’s guide on getting started with Rails 4. Update (07/22/2013): Heroku now supplies a different gem … Read more