a little help



While configuring rails on a win2k3 web server I ran into the following problem when trying to generate a scaffold:

error  Before updating scaffolding from new DB schema, try creating a table for your model

After installing rails using gems you are assured by most documentation that you are all setup, and that has been my experience on both linux and os x. However on win2k3 I found that you have to install the mysql gem after you initially setup rails using gems or you won't be able to connect to mysql properly:

gem install mysql

After I tapped out that command everything worked perfect.

Thanks to Ruby Nuby!



Posted by christopher andersson on December 26, 2006 10:43 PM

Comments