On 28 Mar 2011, at 07:36, matteo wrote:

> I am writing a rake task to deploy on heroku. The task has only one
> step:
> 
> sh %{ heroku pg:info }
> 
> and it fails with
> 
> heroku pg:info Unknown command. Run 'heroku help' for usage
> information. rake aborted! Command failed with status (1): [heroku
> pg:info...]
> 
> The funny thing is that any other heroku command seems to work. It is
> just the "heroku pg" ones that do not work.
> 
> Ideas?

Assuming that you can see the :pg tasks when you run this manually, my guess is 
the script isn't seeing the same PATH as you do at the console.

> 
> Thanks in advance for any help
> 
> -Matteo
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

cheers,
Matt

[email protected]
07974 430184

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to