From: THAKUR PRASHANT SINGH Date: 2010-01-27T17:55:48+09:00 Subject: Re: first rails app failed Please check your logs most probably its trying to look for some db connections defined in database.yml and its not able to connect. -----Original Message----- From: Ruby Newbee [mailto:rubynewbee@gmail.com] Sent: Wednesday, January 27, 2010 1:51 PM To: ruby-talk ML Subject: first rails app failed I just started my lesson on rails and followed the steps in the book "beginning ruby on rails", but sorry I have been getting wrong. I took the steps to build a new rails application as below: 1. rails hello 2. cd hello; ruby script/generate controller App 3. vi app/controllers/app_controller.rb and put these content in it: class AppController < ApplicationController def greeting end end 4. vi app/views/app/greeting.rhtml and put these content in it: Ruby on Rails

Yes it's working!

5. ruby script/server -d Now open a browser and visit to: http://localhost:3000/app/greeting Hmm I got: We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly. Can you kindly help me? Thanks.