Hi Ramon,

You can try this:
"run "cd #{current_path}"; #{try_sudo} #{rake_path} gems:install RAILS_ENV..."

Regards

El 24/05/10 06:08, Ramon Tayag escribió:
Hey guys,

I can't seem to figure out how to execute sudo rake gems:install.

I've tried:

   1. run "cd #{current_path}"; #{sudo_path} #{rake_path} gems:install
      RAILS_ENV..." ---- but it doesn't ask me for the sudo password.
   2. sudo "#{rake_path} -f #{current_path}/Rakefile gems:install
      RAILS_ENV=..." ---- but it can't load the plugins properly.

I've tried other variations but it seems I'm doing it the wrong way coz it's just trial and error.

Any help would be appreciated.

Thanks!

Ramon Tayag
--
* 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


--
Rafa

--
* 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