I''m a newbie trying to follow the ONLamp RoR tutorial at http://
www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Originally, I forgot to install the MySQL driver. It took a while to
get a driver installed using gem, but eventually I got mysql-2.7
driver installed after downloading some ruby dev headers and mysql
client library.
Now, when I try and point the browser to controller with
scaffold:<cont_name> I get the following error message:
"RuntimeError in RecipeController#new
Mysql not loaded"
The development.log file reads:
"RuntimeError (Mysql not loaded):
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/
connection_adapters/mysql_adapter.rb:7:in `define_all_hashes_method!''
...
..."
Sorry if I''m not explaining this well ... very new at it. I was able
to successfully connect to the mysql server outside of rails and
create the db & recipe table (per tutorial). Can''t seem to get
rails
to connect, though.
Any help would be appreciated.
I''m running on Ubuntu 6.10.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---