You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wrote script to execute remote commands using net/ssh.
my script works fine when I run it from command line.
But when I try to execute it from rails controller I got an error.
`require': no such file to load -- net/ssh (LoadError)
can anybody help me to understand what I am doing wrong.
Thanks
Hi,
I wrote script to execute remote commands using net/ssh.
my script works fine when I run it from command line.
But when I try to execute it from rails controller I got an error.
`require': no such file to load -- net/ssh (LoadError)
can anybody help me to understand what I am doing wrong.
Thanks
Rails controller
@Result=system "ruby script.rb"
The text was updated successfully, but these errors were encountered: