First Day issue

I’ll start off saying I don’t know much at all about RoR…today is my
first day attempting.

I have been going through this tutorial (but I’m doing it on linux)

and get this when i try to view the /recipe/new page listed:

NameError in RecipeController#new

uninitialized constant Mysql

RAILS_ROOT: script/…/config/…
Application Trace | Framework Trace | Full Trace

This error occured while loading the following files:
active_record/mysql.rb

Request

Parameters: None

Show session dump


flash: !ruby/hash:ActionController::Flash::FlashHash {}

Response
Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}

I’m obviously missing a mysql.rb, but googling pulls only 1 unresolved
forum post…any Ideas what I’m missing? Is there some mysql module I
didn’t load? Thanks in advance!

I don’t know which distro you’re using, but there should my a package
to provide MySQL bindings to Ruby. That’s probably what is missing in
your setup.

Cheers,

Luciano

/my/be/ makes my previous message more readable:

I don’t know which distro you’re using, but there should be a package
to provide MySQL bindings to Ruby. That’s probably what is missing in
your setup.

Cheers,

Luciano

apt-get install libdbd-mysql-ruby1.8

Fixed it! (well now I get access denied but thats an issue in my .yml
file I’m sure)

Thanks alot.