# MissingSourceFile error

**URL:** <https://www.ruby-forum.com/t/missingsourcefile-error/148101>\
**Category:** Rails\
**Created:** [September 9, 2008, 9:56am UTC](https://www.ruby-forum.com/t/missingsourcefile-error/148101 "2008-09-09T09:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [September 9, 2008, 9:56am UTC](https://www.ruby-forum.com/t/missingsourcefile-error/148101/1 "2008-09-09T09:56:19Z")

</div>

I created a rails application by “rails demo” command and generated a  
controller “script/generate controller Say”. Then I created a file in  
app/view/say/hello.html.erb. I added a method “hello” in  
app/controllers/say\_controller.rb. From a browser to access the link  
"[http://localhost:3000/say/hello](http://localhost:3000/say/hello), I got this error:

MissingSourceFile in SayController#index

no such file to load – sqlite3

What’s wrong with my application? Did I forget anything?

---

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [September 9, 2008, 10:09am UTC](https://www.ruby-forum.com/t/missingsourcefile-error/148101/2 "2008-09-09T10:09:24Z")

</div>

On Sep 9, 8:56 am, Zhao Yi [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> What’s wrong with my application? Did I forget anything?  
> Sounds like you don’t have the sqlite3-ruby gem (and you’ll need the  
> sqlite3 library as well)

Fred

---

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [September 9, 2008, 11:00am UTC](https://www.ruby-forum.com/t/missingsourcefile-error/148101/3 "2008-09-09T11:00:10Z")

</div>

Frederick C. wrote:

> On Sep 9, 8:56ï¿½am, Zhao Yi [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > What’s wrong with my application? Did I forget anything?  
> > Sounds like you don’t have the sqlite3-ruby gem (and you’ll need the  
> > sqlite3 library as well)
> 
> Fred

Where can I get it? How can I install it?
