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 -- 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 -~----------~----~----~----~------~----~------~--~---
On 27 May 2008, at 10:42, Abdul Mohammed wrote:> > 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''Is the net-ssh gem in jruby''s gem folder ? Fred> > 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 > -- > 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 27 May 2008, at 10:42, Abdul Mohammed wrote: > >> >> 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'' > > Is the net-ssh gem in jruby''s gem folder ? > > FredThis is my path D:\Program Files\netBeans\NetBeans 6.0.1\ruby1\jruby-1.0.2\lib\ruby\gems\1.8\gems\net-ssh-2.0.1\net-ssh.gemspec -- 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 -~----------~----~----~----~------~----~------~--~---