[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

uninitialized constant ActionController

Tae Hyeon Choe

4/15/2008 9:21:00 AM

[Note: parts of this message were removed to make it a legal post.]

Hi~!

I'm start RoR. but meet error when first program....

Help me....

Error Message :

copy output
RubyMate r8136 running Ruby r1.8.6 (/opt/local/bin/ruby)
>>> application.rb

NameError: uninitialized constant ActionController

at top level in application.rb at line 4
Program exited.

Code :

class PhonebookController < ApplicationController
scaffold :person
end

1 Answer

Roger Pack

4/16/2008 4:38:00 AM

0

Yeah you'll want to run script/server or script/console.

> at top level in application.rb at line 4
> Program exited.
maybe start a new rails project and start from scratch?
--
Posted via http://www.ruby-....