I have created a rails project in RadRails .7.1. I have numerous files within my project, and I wish to "run," it so that I may later debug it (when RadRails 8.0 comes out). Presently, if I start my server, I can run my project by invoking the internal browser, but I wish to run it in the conventional manner from the toolbar selecting the run icon, or the menu bar. So I select "run-run," and the "create, manage and run configurations," dialog appears. Therein is a field called "file" where I am to pick the Ruby file that represents my application entry point. C:/InstantRails/rails_apps/ggrip/app/controllers/application.rb:5: uninitialized constant ActionController (NameError) No matter what rb file I pick, I get this error. Can someone help me here please so I can get my rails app to run in radrails the way (I think) the creators of RadRails had envisioned? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You wouldn''t get the error if you ran public/dispatch.fcgi But you''d get an HTML page with a 500 error listed. If you want to run from the command line, run script/console. It''s very useful for debugging. Jason Ike wrote:> I have created a rails project in RadRails .7.1. I have numerous files > within my project, and I wish to "run," it so that I may later debug it > (when RadRails 8.0 comes out). Presently, if I start my server, I can > run my project by invoking the internal browser, but I wish to run it > in the conventional manner from the toolbar selecting the run icon, or > the menu bar. > > So I select "run-run," and the "create, manage and run configurations," > dialog appears. Therein is a field called "file" where I am to pick the > Ruby file that represents my application entry point. > > C:/InstantRails/rails_apps/ggrip/app/controllers/application.rb:5: > uninitialized constant ActionController (NameError) > > No matter what rb file I pick, I get this error. Can someone help me > here please so I can get my rails app to run in radrails the way (I > think) the creators of RadRails had envisioned? Thanks > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ike wrote:> I have created a rails project in RadRails .7.1. I have numerous files > within my project, and I wish to "run," it so that I may later debug it > (when RadRails 8.0 comes out). Presently, if I start my server, I can > run my project by invoking the internal browser, but I wish to run it > in the conventional manner from the toolbar selecting the run icon, or > the menu bar. > > So I select "run-run," and the "create, manage and run configurations," > dialog appears. Therein is a field called "file" where I am to pick the > Ruby file that represents my application entry point. > > C:/InstantRails/rails_apps/ggrip/app/controllers/application.rb:5: > uninitialized constant ActionController (NameError) > > No matter what rb file I pick, I get this error. Can someone help me > here please so I can get my rails app to run in radrails the way (I > think) the creators of RadRails had envisioned? ThanksThat command is for executing a ruby file. Is rails app is much more than a Ruby file. The only way to actually execute any of your rails code is to launch a server, or through tests. You cannot directly run your controllers. -- 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 -~----------~----~----~----~------~----~------~--~---