Ruby on Rails Wednesday, September 24, 2014

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ac3c6773-5272-4f4e-aa37-046481c0a8c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment