Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
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
Old 09-26-2009, 12:58 PM   PM User | #2
ScottInTexas
Regular Coder

 
Join Date: Nov 2002
Posts: 567
Thanks: 2
Thanked 4 Times in 4 Posts
ScottInTexas is on a distinguished road
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.
ScottInTexas is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Advertisement
Log in to turn off these ads.