# Help me : problem in running rails application

**URL:** <https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241>\
**Category:** Rails\
**Created:** [December 23, 2008, 9:56am UTC](https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241 "2008-12-23T09:56:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 23, 2008, 9:56am UTC](https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241/1 "2008-12-23T09:56:40Z")

</div>

Hello to all ,  
I am new in ruby development, so please me, i am asking a very simple  
query.

Problem :  
I created a simple greeting application

1. F:\RubyProjects\>rails chapterone

2. F:\RubyProjects\chapterone\>rails script/generate controller  
greeting

3. after that i edit greeting\_controller.rb

class GreetingController \< ApplicationController  
def index  
@welcome\_message=“Welcome to your first rail application”  
end  
end

1. then i create a index.html.rb file in app/view/greeting folder

# \<%=@welcome\_message %\>

1. then i open browser http:\localhost:3000/greeting

here i got a error

* * *

MissingSourceFile in GreetingController#index

So can any one suggest me , how to get out of this error.

Thank you,  
Vikas G…

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [December 23, 2008, 10:24am UTC](https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241/2 "2008-12-23T10:24:44Z")

</div>

removed\_email\_address@domain.invalid wrote:

> 1. then i create a index.html.rb file in app/view/greeting folder

I think that this file should be named index.html.erb (.erb, not .rb)

Paolo
