what exactly are you typing when you are "run this program on the command line"

did you originally do rails new on the command line to create new rails app?


On Sep 24, 2014, at 12:18 PM, Morad <[email protected]> wrote:

> I installed Ruby on Rails 1.9.3 version on windows . I built a simple hello 
> world program , the issue is that when I build it in sublime text 2 I get 
> this error :"Uninitialized constant ApplicationController ( nameerror) " and 
> I get the same error when run this program in the command line . My 
> application_controller.rb look like this :
> 
> class ApplicationController < ActionController::Base
> 
> end
> 
> I installed the gems but I still get this error . I downloaded ruby rails to 
> a mac and having the same issue.
> 
> The program :
> 
> class HelloworldsController < ApplicationController
>  def hi
>    puts "Hello world"
>  end
> end
> 
> 
> Any thoughts pleas ?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7AD0106D-DF27-46C9-B6A4-94B5AC8C7B34%40datatravels.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to