My app was running fine with Linux, Apache2/Lighttpd and MySQL. I have a need to migrate to Windows, Apache2 and MS SQL. But I keep getting the following error when I load the initial home page. Anyone can please give me a pointer where to go next for troubleshooting? Thanks in advance. NameError in <controller not set>#<action not set> uninitialized constant AcquisitionController RAILS_ROOT: C:/rails/bdo/acquisition/public/../config/.. Application Trace | Framework Trace | Full Trace C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in `const_missing'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'' generated/routing/recognition.rb:4:in `recognize_path'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in `const_missing'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `each_cgi'' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each'' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!'' C:/rails/bdo/acquisition/public/dispatch.fcgi:24 C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in `const_missing'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'' generated/routing/recognition.rb:4:in `recognize_path'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `each_cgi'' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each'' C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!'' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!'' C:/rails/bdo/acquisition/public/dispatch.fcgi:24 Request Parameters: None Show session dump --- {} Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} -- Posted via http://www.ruby-forum.com/.
Chester
2006-Feb-22 21:41 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
Anyone can shed some light here? -- Posted via http://www.ruby-forum.com/.
Chester
2006-Feb-22 21:43 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
My connectivity to MS SQL is good. My Apache start and stop fine. The only problem it seems is related to configuration. Somehow, the loading of all the application classes is not there. Is this configuration problem with Apache2? or configuration with Rail? If so, any hint where I should look? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
Chester
2006-Feb-22 21:54 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
I am using Ruby 1.8.2-15, Rails 1.0.0, ActiveRecord 1.13.2, ActionPack 1.11.2, ActiveSupport 1.2.5 -- Posted via http://www.ruby-forum.com/.
Joshua Schairbaum
2006-Feb-23 01:32 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
On Wednesday, February 22, 2006, at 10:54 PM, Chester wrote:>I am using Ruby 1.8.2-15, Rails 1.0.0, ActiveRecord 1.13.2, ActionPack >1.11.2, ActiveSupport 1.2.5 > >-- >Posted via http://www.ruby-forum.com/. >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsI would say that the problem is not with Apache or MS-SQL. That seems more like a Ruby type error. If it was Apache, you wouldn''t be seeing the error messages. MS-SQL, Ruby would complain about the connection or something being nil. -- Posted with http://DevLists.com. Sign up and save your time!
Andrew Premdas
2006-Feb-23 14:10 UTC
[Rails] Ruby on Rails with Apache2, MS SQL on Windows XP
Some random throughts that might help... Is apache2 starting your fastcgi or are they running seperately? I could only get fastcgi to work on windows running outside apache. Perhaps you should look at your apache logs. Also have you tried running under cgi. Finally can you get the standard rails home page to work with a default app? On 2/22/06, Chester <cchee@arising.net> wrote:> > My app was running fine with Linux, Apache2/Lighttpd and MySQL. I have a > need to migrate to Windows, Apache2 and MS SQL. But I keep getting the > following error when I load the initial home page. Anyone can please > give me a pointer where to go next for troubleshooting? Thanks in > advance. > > NameError in <controller not set>#<action not set> > > uninitialized constant AcquisitionController > > RAILS_ROOT: C:/rails/bdo/acquisition/public/../config/.. > Application Trace | Framework Trace | Full Trace > > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:195:in > `const_missing'' > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:72:in > `const_missing'' > generated/routing/recognition.rb:4:in `recognize_path'' > > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:195:in > `const_missing'' > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:72:in > `const_missing'' > C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2 > /lib/action_controller/routing.rb:458:in > `recognize!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in > `process_request'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in > `process!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in > `each_cgi'' > C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each'' > C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in > `process!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in > `process!'' > C:/rails/bdo/acquisition/public/dispatch.fcgi:24 > > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:195:in > `const_missing'' > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5 > /lib/active_support/dependencies.rb:72:in > `const_missing'' > generated/routing/recognition.rb:4:in `recognize_path'' > C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2 > /lib/action_controller/routing.rb:458:in > `recognize!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in > `process_request'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in > `process!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in > `each_cgi'' > C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each'' > C:/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in `each_cgi'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in > `process!'' > C:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in > `process!'' > C:/rails/bdo/acquisition/public/dispatch.fcgi:24 > > Request > > Parameters: None > > Show session dump > > --- {} > > Response > Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060223/061c514d/attachment.html
Chester
2006-Feb-23 16:04 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
I tried to run it on WEBrick. Same result. I am using mod_fastcgi with Apache2. Andrew Premdas wrote:> Some random throughts that might help... > > Is apache2 starting your fastcgi or are they running seperately? I could > only get fastcgi to work on windows running outside apache. Perhaps you > should look at your apache logs. Also have you tried running under cgi. > Finally can you get the standard rails home page to work with a default > app?-- Posted via http://www.ruby-forum.com/.
Chester
2006-Feb-23 16:09 UTC
[Rails] Re: Ruby on Rails with Apache2, MS SQL on Windows XP
Just try it with mod_cgi as well. Same result. Andrew Premdas wrote:> Some random throughts that might help... > > Is apache2 starting your fastcgi or are they running seperately? I could > only get fastcgi to work on windows running outside apache. Perhaps you > should look at your apache logs. Also have you tried running under cgi. > Finally can you get the standard rails home page to work with a default > app?-- Posted via http://www.ruby-forum.com/.