Rolling with Ruby on Rails
Subject:   Help A ROR Rookie!
Date:   2008-01-01 19:25:11
From:   bhansel

I'm learning ROR and am in the beginning of the tutorial. When I try to test the controller this is the error I get:

MissingSourceFile in My testController#index
no such file to load -- sqlite3
RAILS_ROOT: C:/rails/cookbook


This error occurred while loading the following files:

I have edited the controller to add the index with hello world but can't get past this problem.

Any help is much appreciated!

Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Help A ROR Rookie!
    2008-10-31 17:01:01  talk2vc [View]

    sqllite3 also requires nmake to run. Found the following info at which allows me to continue using mysql.

    Rails-2.0.2 changed the default database settings, now it starts new project on sqlite-3. If you still want mysql, you have to type

    rails -d mysql cookbook
  • Help A ROR Rookie!
    2008-01-14 19:27:27  jxuan [View]

    If you have installed iTune, try copy sqlite3.dll from
    C:\Program Files\Common Files\Apple\Mobile Device Support\bin

    If it still does not work, please try
  • Help A ROR Rookie!
    2008-01-04 20:06:57  bjr2101 [View]

    I am having the same problem. It happens when I try to load

    I'm a rookie too and would really appreciate some help.
    • Help A ROR Rookie!
      2008-02-17 15:30:19  a.s [View]

      i believe you have to read the error message which says sqlite3.dll not found. so you have to find that file (online) and put it in ruby/bin i believe (the other posts have more detailed urls/ and explanations
    • Help A ROR Rookie!
      2008-01-09 03:27:10  gauravgaur [View]

      I guess you don't have sqlite3 & 'sqlite3 ruby gem' installed but your database.yml file points to that.

      For installing the same follow this article

      I guess after that it should work.