View Single Post
Old 09-24-2009, 07:55 PM   PM User | #1
ScottInTexas
Regular Coder

 
Join Date: Nov 2002
Posts: 567
Thanks: 2
Thanked 4 Times in 4 Posts
ScottInTexas is on a distinguished road
We're Sorry error and other questions

OK I've started. finished the install, not sure what happened there, and started a tutorial. Of course, immediate error. I've made a lsit and cheked it twice to make sure I did all the steps correctly. In a dos command prompt I ran the application creation command and then created the controller MyTest.
In the controllers directory it created My_test_controller.rb. When I went to test it I got an error that says "We're sorry, but something went wrong. We have been notified about this issue and will look into it shortly." In jEdit I have the file open and it has
Code:
class MyTestController < ApplicationController
	def index
		render_text "Not another Hello world?!?"
	end
end
1. How do I know things are working as far as the interpreter and the code?
2. Is the "Something went wrong..." equivalent to a 404 eror?
3. Will I always have to start Ruby script/server in a DOS prompt?
4. Does the DOS window always have to remain open while playing with rails?

Windows XP
Firefox 3.5.3
Rails 2.3.4

Tutorial

Thanks for the patient replies.
__________________
Scott Stewart
Always happy to learn from pros.

Last edited by ScottInTexas; 09-24-2009 at 07:58 PM.. Reason: Wrong tutorial
ScottInTexas is offline   Reply With Quote