heroku / heroku-repo

Plugin for heroku CLI that can manipulate the repo
MIT License
686 stars 111 forks source link

Heroku purge_cache error #42

Closed RianaFerreira closed 8 years ago

RianaFerreira commented 8 years ago

I get the below error when attempting to purge the cache on my Heroku staging app. Has anyone else reported this? The command was working for me until today. Any help would be appreciated, thanks!

CLI output: ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       undefined method `index' for #<Heroku::Command::Run:0x000001009777b8> (NoMethodError)
Command:     heroku repo:purge_cache --app taupo-staging
Plugins:     heroku-repo
Version:     heroku-toolbelt/3.42.12 (x86_64-darwin10.8.0) ruby/1.9.3
Error ID:    ccf448694c4140a994834a0da7877703

Log output: Heroku client internal error. undefined method index' for #<Heroku::Command::Run:0x00000101463618> /Users/riana/.heroku/plugins/heroku-repo/lib/heroku/command/repo.rb:139:inrun' /Users/riana/.heroku/plugins/heroku-repo/lib/heroku/command/repo.rb:37:in purge_cache' /Users/riana/.heroku/client/lib/heroku/command.rb:212:inrun' /Users/riana/.heroku/client/lib/heroku/cli.rb:29:in start' /usr/bin/heroku:24:in

' 2015/09/30 16:53:23 running from /Users/riana/.heroku/heroku-cli

tt commented 8 years ago

This looks like a duplicate of #14.

Can you try updating the plug-in (i.e. heroku plugins:update) and reopen if that doesn't resolve it?

RianaFerreira commented 8 years ago

Magical! Thank you very much :+1: