Tuesday 15 June 2010

Rails cannot generate model with mysql -



Rails cannot generate model with mysql -

i'm ruby on rails noob , having issue generating model using mysql. got new project going without errors:

rails new my_project -d=mysql

but when attempted create new model posts, nil happened. command-line sort of froze 10 minutes until went htop , killed process. syntax using follows:

rails g model post title:string content:text

what might going on here? found similar complaint here 2011 it, along ruby forum link seemed exclusively different error. thoughts?

try stopping spring spring stop , run generator again.

when trying generate model rails , postgresql, command hangs without error

mysql ruby-on-rails linux

No comments:

Post a Comment