Saturday, June 12, 2010

RoR page does not load on the browser

Hi, As usual, I tried to learn something of something new - Ruby on Rails. When I tried to create a brand new application as suggested in "Beginning Ruby on Rails", I hit upon a road block. The application would not load. And the log file said:
- Could not open library 'libsqlite3': The specified module could not be found.

- Could not open library 'libsqlite3.dll': The specified module could not be found.

- Could not open library 'sqlite3': The specified module could not be found.

- Could not open library 'sqlite3.dll': The specified module could not be found.
And lots of other things which I could just not understand.

After searching for a long time and taking help from our local ruby-on-rails expert (who had never done this in Windows), I found that this is a rare occurrence. Finally, when we found out the root cause, it was pretty simple. All I needed to do was to put sqlite3.exe and sqlite3.dll in my path.

Cheers!
Karthick S.