uninitialized constant ActionController

Discussion in 'Ruby' started by Tae Hyeon Choe, Apr 15, 2008.

  1. [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
     
    Tae Hyeon Choe, Apr 15, 2008
    #1
    1. Advertising

  2. Tae Hyeon Choe

    Roger Pack Guest

    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-forum.com/.
     
    Roger Pack, Apr 16, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pål Bergström

    Don't understand :: in ActionController::Base

    Pål Bergström, Jul 14, 2006, in forum: Ruby
    Replies:
    7
    Views:
    103
    Pål Bergström
    Jul 14, 2006
  2. Replies:
    1
    Views:
    90
    James Britt
    Dec 29, 2006
  3. James Coglan
    Replies:
    0
    Views:
    87
    James Coglan
    Jan 3, 2009
  4. Martin Gütlein
    Replies:
    1
    Views:
    215
    Brian Candler
    Oct 13, 2009
  5. Xeno Campanoli
    Replies:
    0
    Views:
    120
    Xeno Campanoli
    Feb 22, 2010
Loading...

Share This Page