Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Posts
    567
    Thanks
    2
    Thanked 4 Times in 4 Posts

    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.
    Last edited by ScottInTexas; 09-24-2009 at 07:58 PM. Reason: Wrong tutorial
    Scott Stewart
    Always happy to learn from pros.

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Posts
    567
    Thanks
    2
    Thanked 4 Times in 4 Posts
    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.
    Scott Stewart
    Always happy to learn from pros.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •