Forum: Ruby Can't seem to source .bashrc when using net-ssh

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3f57a4d10c9b2f2fe799dda5fceaef01?d=identicon&s=25 Slan Dizier (sdizier)
on 2009-04-29 18:50
Hey Guys,

I have a script which executes commands via rubys net-ssh version 2.x
and I need access to environment variables that I have created in my
servers .bashrc.  The problem I seem to be having is that my .bashrc
file does not seem to get sourced when I use net-ssh.

Any help or input appreciated.

sdizier
This topic is locked and can not be replied to.