CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ruby & Ruby On Rails (http://www.codingforums.com/forumdisplay.php?f=44)
-   -   We're Sorry error and other questions (http://www.codingforums.com/showthread.php?t=177874)

ScottInTexas 09-24-2009 07:55 PM

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.

ScottInTexas 09-26-2009 12:58 PM

I cintinued to try to find answers to this problem. I did find out where the develop.log was and looked there. The first problem is that it could not load sqlite3. Well, I'm using MySQL so I'm looking into that problem. Another problem (Later) was that I was "Unauthorized" for MySQL. Don't know why because I can open phpMyAdmin just fine.


All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.