Hi to everyone!
I’m new with Ruby on Rails…
I use linux (an italian distribution, that is just like Slackware)
I’m writing my first program with rails… Nothing special… it is the
famous Hello World…!
(I’m reading the book of Dave T. “Agile Web D. with Rails”)
Well the problem is that when I point my browser to
(“dire” is my controller and “ciao” is the action)
the browser displays this problem:
MissingSourceFile in DireController#ciao
no such file to load – sqlite3
This error occurred while loading the following files:
So I write in my shell:
gem install sqlite3-ruby
The gem was installed, but the problem remains…!
Do you know what should I do?
I don’t know if I have to change something in the file database.yml…?
SQLite version 3.x
gem install sqlite3-ruby (not necessary on OS X Leopard)
Warning: The database defined as ‘test’ will be erased and
re-generated from your development database when you run ‘rake’.
Do not set this db to the same as development or production.
Can someone help me?