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

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.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs