NRose8989
Jun 27, 2009, 07:49 PM
I'm having serious issues getting Ruby on rails working with mySQL.
I'm tried numerous tutorials to trying to install both mySQL and RoR and getting them to play nice. I did this tutorial here (http://hivelogic.com/articles/view/ruby-rails-leopard) and here (http://hivelogic.com/articles/view/installing-mysql-on-mac-os-x) but for some reason I can't them to work...
after I install everything and get the mysql instance running i do this.
$ cd desktop
$ rails -d mysql demo
$ cd demo
$ ruby script/generate controller say index
$ ruby script/server
now by default when I go to http://localhost:3000/say I should see a little message saying where I am but I keep on getting a error message.
Anyone have a straight forward tutorial to getting ruby on rails and mysql running for 10.5.7?
EDIT: FYI I was trying to use mySQL 5.1.... if that even matters.
I'm tried numerous tutorials to trying to install both mySQL and RoR and getting them to play nice. I did this tutorial here (http://hivelogic.com/articles/view/ruby-rails-leopard) and here (http://hivelogic.com/articles/view/installing-mysql-on-mac-os-x) but for some reason I can't them to work...
after I install everything and get the mysql instance running i do this.
$ cd desktop
$ rails -d mysql demo
$ cd demo
$ ruby script/generate controller say index
$ ruby script/server
now by default when I go to http://localhost:3000/say I should see a little message saying where I am but I keep on getting a error message.
Anyone have a straight forward tutorial to getting ruby on rails and mysql running for 10.5.7?
EDIT: FYI I was trying to use mySQL 5.1.... if that even matters.
