I make sure I bundle --binstubs. Then prefix with bin ie run "RAILS_ENV=production bin/rake whatever"
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
