Who told you to run ruby helloworlds_conteoller.rb and why would you expect 
that output from executing that as a ruby script?

In short, that's just not how Rails is built. Your webserver starts up the 
entire Rails app -- including loading all associated files and dependencies -- 
when you run rails server. (which is sounds like you already are successfully 
able to do?)

Running any individual file with the ruby command isn't how a Rails app works. 




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

> While in the folder where the project is, issued command : ruby 
> helloworlds_conteoller.rb ,then I would get that error . Basically I am 
> expecting to see the output  "hello world " when I run it in the command 
> prompt and on sublime but I don't see it.

-- 
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/FF4CF5A4-8443-4DB6-9D6F-8042A9448B0A%40datatravels.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to