I don''t have the same environment variables with a capistrano task as I
do with a conventional ssh session.
When I ssh in and try "env" I see my GEM_HOME and GEM_PATH environment
variables from my ~/.bash_profile (I also have a .gemrc file).
But when I try "cap shell" and "env" I don''t see
the GEM_HOME and
GEM_PATH environment variables.
How do I force capistrano to pick up the shell environment variables
when it runs? Why doesn''t it pick up the environment variables that are
set in my ~/.bash_profile ?
thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---