Hello everyone,
Pls i am a newbie to Ruby. I am trying to develop a web app that connects to a remote server and executes some commands. In trying to connect, i get this error msg:
uninitialized constant Net::SSH RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace D:/Program Files/netBeans/NetBeans 6.0.1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:263:in `load_missing_constant' D:/Program Files/netBeans/NetBeans 6.0.1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in `const_missing' D:/NetBeansProjects/webstats/app/controllers/apache/main_controller.rb:45:in `connect'
I am using the net-ssh-2.0.1.gem and the ssh.rb references the modules like this:
module Net
module SSH