David Park wrote:
> Hi All,
>
> I just installed Ruby on Rails on my MacBook Pro and tried to create the
> Hello World app that is documented in the Agile Development with Rails
> book. I followed all the instructions for creating the Hello World app
> but get the following error when I try to load
> http://localhost:3000/say/hello
>
> MissingSourceFile in SayController#index
>
> no such file to load -- sqlite3
>
If you want to use mysql, then set up your rails project like this:
% rails --database=mysql <name>
If you leave out the database option, rails will assume you want
sqlite3.
(I think mysql used to be the default some time ago).
You can alter the database and connection settings in config/
database.yaml.
--
Daniel Bush
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---