That's another thing I'm going to fix when I have a few minutes - the variation between 'sudo' and 'run'.
On Jan 17, 1:20 pm, Mike Bailey <[EMAIL PROTECTED]> wrote:
Thanks so much Neil. sudo complained that JAVA_HOME=/blah is not a program so I put the following in to appease it. Gem::GEM_INSTALL='sleep 0 && JAVA_HOME=/usr/lib/jvm/java-1.5.0- sun-1.5.0.06 && sudo ' + Gem::GEM_INSTALL This is a a kludge but it means my install task in deploy.rb does what it needs to. I'll be watching out for vmbuilder_plugins. - Mike On 17/01/2007, at 11:33 PM, NeilW wrote: > task :install do > org_gem=Gem::GEM_INSTALL > Gem::GEM_INSTALL='JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06 ' + > Gem::GEM_INSTALL > gem.select 'rjb' > Gem::GEM_INSTALL=org_gem > end > It'll whinge about overriding constants, but it'll work. > It looks to me like there is a closure there that needs writing. > Probably in Std. > P.S. The vmbuilder_plugins gem is out - assuming the directory ever > picks it up! >http://rubyforge.org/frs/?group_id=1886 > NeilW
--~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
