# Problem running an demo application

**URL:** <https://www.ruby-forum.com/t/problem-running-an-demo-application/158080>\
**Category:** Rails\
**Created:** [January 19, 2009, 7:35am UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080 "2009-01-19T07:35:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajasekaramya](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@Rajasekaramya](https://www.ruby-forum.com/u/Rajasekaramya)\
**Post date:** [January 19, 2009, 7:35am UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080/1 "2009-01-19T07:35:03Z")

</div>

hi there,

I am very new to ruby on rails and trying to run an demo application

I created an application rails demo.  
i created a controller Say  
i started the server ruby/script server  
I used port  
[http://localhost:3000/Say](http://localhost:3000/Say)  
i get the following error.

MissingSourceFile in SayController#index

no such file to load – sqlite3

RAILS\_ROOT: C:/rails/demo  
Application Trace | Framework Trace | Full Trace

i guess sqlite3 comes default with rails and my rails version 2.2

Kindly suggest as how to resolve my problem.

Regards  
Ramya

–  
View this message in context:  
[http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html](http://www.nabble.com/problem-running-an-demo-application-tp21537601p21537601.html)  
Sent from the RubyOnRails Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Rajasekaramya](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@Rajasekaramya](https://www.ruby-forum.com/u/Rajasekaramya)\
**Post date:** [January 19, 2009, 9:36am UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080/2 "2009-01-19T09:36:58Z")

</div>

Hi,

Each rails application connects to a database during start (configured  
in  
database.yml) By deafault iy assumes it to be a SQLite3 database but the  
adapters of these would have to be installed seperately.  
You can install the same with

gem install sqlite-ruby

Or you can modify the default database to mySQL in database.yml file(in  
config folder)  
This would have been mentioned in whatever tutorial/book you are  
following

NAYAK

On Mon, Jan 19, 2009 at 12:04 PM, Rajasekaramya  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> [http://localhost:3000/Say](http://localhost:3000/Say)
> 
> >

–

- NAYAK

---

<div class="post-metadata">

**Author:** ![Rajasekaramya](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@Rajasekaramya](https://www.ruby-forum.com/u/Rajasekaramya)\
**Post date:** [January 19, 2009, 11:58am UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080/3 "2009-01-19T11:58:36Z")

</div>

u dont have installed sqlite , it comes with rails but u need the dll  
files to b there onto u’r sys.  
other way change database adapter to mysql in database.yml file  
present in config dir with mysql installed on u’r sys.

On Mon, Jan 19, 2009 at 12:04 PM, Rajasekaramya  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://localhost:3000/Say](http://localhost:3000/Say)
> 
> >

–  
M@nmay

> **[Google Sites: Sign-in](https://accounts.google.com/v3/signin/identifier?dsh=S-1090040606%3A1688514777525947&continue=https%3A%2F%2Fsites.google.com%2Fsite%2Fsites%2Fsystem%2Ferrors%2FWebspaceNotFound%3Fpath%3D%2Fmanmays%2F&followup=https%3A%2F%2Fsites.google.com%2Fsite%2Fsites%2Fsystem%2Ferrors%2FWebspaceNotFound%3Fpath%3D%2Fmanmays%2F&ifkv=AeDOFXgOJze_9ZHuWWnyd6zgFisRQMyR69ZTRelIpmxB-AOOAJVCe8uWD67KAIBH3MOOpf8dNrtu2g&passive=1209600&service=jotspot&flowName=GlifWebSignIn&flowEntry=ServiceLogin)**
>
> Access Google Sites with a personal Google account or Google Workspace account (for business use).

> **[In The Mind](http://manmays.blogspot.com)**
>
> My heart to you is given: Oh, do give yours to me; Well lock it up, n throw away the key.
> 
> 
> Love looks through a telescope; envy through a microscope.

---

<div class="post-metadata">

**Author:** ![Rajasekaramya](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@Rajasekaramya](https://www.ruby-forum.com/u/Rajasekaramya)\
**Post date:** [January 19, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080/4 "2009-01-19T19:51:41Z")

</div>

hi there,  
I fixed the problem.sqlite3 was missing.I installed by downloading the  
gem  
for it and also the .dll files was missing.  
Thanks,

Regards  
Ramya.
