Benjamin,

It's incredibly rude and sneaky to cross-post to multiple support channels 
without fully disclosing your cross posting (maybe some of us would have liked 
to earn the rep at SO, maybe some of us would prefer not to have our time 
wasted, etc)

The answer you received at SO is half-way right 
(http://stackoverflow.com/a/10679123/119669), but if it's not working for you 
that's quite something else.

I feel quite disinclined to help you because of the cross posting, good luck at 
SO.

- Lee Hambley 


On Monday, May 21, 2012 at 5:07 AM, Benjamin Moses Lieb wrote:

> 
> I'm getting this error when running this capistrano task (my own - cap 
> deploy:show_pointers):
> 
>   * executing `deploy:show_pointers'
>   * executing "cd /home/mydomain/public_html/site_folders/rails/current; rake 
> app:show_pointers"
>     servers: ["mydomain.net (http://mydomain.net)"]
>     [mydomain.net (http://mydomain.net)] executing command
>  ** [out :: mydomain.net (http://mydomain.net)] (in 
> /home/mydomain/public_html/site_folders/rails/releases/20120521025150)
>  ** [out :: mydomain.net (http://mydomain.net)] Could not find rake-0.9.2 in 
> any of the sources
>  ** [out :: mydomain.net (http://mydomain.net)] Try running `bundle install`.
>     command finished in 1584ms
> failed: "sh -c 'cd /home/mydomain/public_html/site_folders/rails/current; 
> rake app:show_pointers'" on mydomain.net (http://mydomain.net)
> 
> However when I run
> 
> sh -c 'cd /home/mydomain/public_html/site_folders/rails/current; rake 
> app:show_pointers
> 
> manually from the same dir that capistrano logs into, it works. I have 
> capistrano set to NOT USE sudo, so that shouldn't be the issue, but it sounds 
> like it might be, since the above command fails with sudo. I think this is a 
> user issue, or maybe an environment var issue. Or I'm not sure what.
> 
> 
> Any suggestsions. This is a task that is already a rake task, but it will 
> help me not to have to log into the server every time I run it (and about 10 
> more like it).
> 
> 
> Appreciate any help on this.
> 
> 
> -- 
> * You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> * To post to this group, send email to [email protected] 
> (mailto:[email protected])
> * To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]) For more options, visit this 
> group at http://groups.google.com/group/capistrano?hl=en 

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" 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/capistrano?hl=en

Reply via email to