# Missing Source File in Controller

**URL:** <https://www.ruby-forum.com/t/missing-source-file-in-controller/125492>\
**Category:** Rails\
**Created:** [January 9, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492 "2008-01-09T16:50:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreativeHeart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5e9695/32.png) [@CreativeHeart](https://www.ruby-forum.com/u/CreativeHeart)\
**Post date:** [January 9, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492/1 "2008-01-09T16:50:25Z")

</div>

Hey Guys:

O.k. I am just trying to view the rhtml file in the browser. I  
created the controller and added the method or action or definition to  
the controller then I added the rhtml file to the view and all the  
naming conventions/defaults are correct. However, when I go to view it  
it says this:

“no such file to load – sqlite3” and “This error occurred while  
loading the following files:  
sqlite3”

Do you know what is going on? Is it just saying that I need to load  
sqlite3?

---

<div class="post-metadata">

**Author:** ![CreativeHeart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5e9695/32.png) [@CreativeHeart](https://www.ruby-forum.com/u/CreativeHeart)\
**Post date:** [January 9, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492/2 "2008-01-09T17:13:52Z")

</div>

On 9 Jan 2008, at 15:49, CreativeHeart wrote:

> loading the following files:  
> sqlite3"
> 
> Do you know what is going on? Is it just saying that I need to load  
> sqlite3?

It’s saying that your app is setup to use sqlite3 as its database but  
it couldn’t find the sqlite3 driver.  
You can get it with gem install sqlite3-ruby

Fred

---

<div class="post-metadata">

**Author:** ![CreativeHeart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5e9695/32.png) [@CreativeHeart](https://www.ruby-forum.com/u/CreativeHeart)\
**Post date:** [January 12, 2008, 5:22am UTC](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492/3 "2008-01-12T05:22:38Z")

</div>

Thanks!!

On Jan 9, 11:13 am, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
