Actually you need to cd first
run "cd #{latest_release}; bin/rake whatever"
Sorry was doing it from memory, end my brain doesn't have ECC.
On Oct 15, 2011, at 11:53 AM, Greg Akins <[email protected]> wrote:
> I'm getting an error because of mis-matched rake versions.
>
> ** [out :: xxx.xxx.xxx.xxx] You have already activated rake 0.9.2, but your
> Gemfile requires rake 0.8.7. Consider using bundle exec.
> ** [out :: xxx.xxx.xxx.xxx]
> ** [out :: xxx.xxx.xxx.xxx] (See full trace by running task with --trace)
> failed: "sh -c 'cd /u/apps/Insomnia/releases/20111015185109 && rake
> RAILS_ENV=production db:migrate'" on
>
> Is there a way to force capistrano to call bundle exec rake instead of rake?
> --
> Greg Akins
> http://twitter.com/akinsgre
>
>
> --
> * 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
--
* 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