Paul Denlinger wrote:
> I just installed MySQL and its drivers on a Mac OS X Leopard. When I
> issued my rails command to build a new app, then issued the script/
> server command and connected to my localhost:3000 in the browser, I
> saw the following problem with MySQL.
> 
> I changed/updated the PATH in nano, and it can see MySQL fine. So I
> really don't understand the problem.
> 
> Can you tell me what I need to do?
> 
> Thank you.
> -----------------------------------------------------------------------
> 
> MissingSourceFile in Rails/infoController#properties
> 
> no such file to load -- mysql
[...]

You've made the same common mistake that many others on this list have 
made. :)  The file that Rails can't load is not the mySQL app itself, 
but rather the mysql gem (which contains the libraries that tell Ruby 
how to talk to the DB).  Install the gem and all should be well.

But you probably should be using PostgreSQL anyway.  It's a *much* 
better DB.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to