# Ruby noob error

**URL:** <https://www.ruby-forum.com/t/ruby-noob-error/92376>\
**Category:** Rails\
**Created:** [April 18, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/ruby-noob-error/92376 "2007-04-18T20:20:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 18, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/ruby-noob-error/92376/1 "2007-04-18T20:20:24Z")

</div>

Background

I’m an absolute novice at all things development/code related.  
Masochisticly I’m trying to leanr Ruby on Rails. It took me an evening  
to work out that start\>run\>command launched something entirely different  
to start\>run\>cmd so this problem probably has an equally obvious  
solution.

PROBLEM

I am trying to set up a controller. the command

“ruby script/generate controller Site index about help”

seems to work fine. However although in the directory the files seem to  
have been created I can’t see them in my RadRails project window.

When I try and take a look at the controller using

“site\_controller.rb” or if I try and look at the application controller  
using “application.rb”

I get the error:

D:/ruby/rails\_space/app/controllers/application.rb:4: uninitialized  
constant ActionController

WHAT AM I DOING WRONG?
