[Locomotive-users] Problem with generate

Gareth Lloyd glloyd at gmail.com
Mon Nov 27 14:23:31 GMT 2006


I'm new to Rails, so I'm sure this will be a problem of my ignorance.  
Help very greatly appreciated.

I'm working through the Agile Development book. I've got Rails  
running on locomotive, and a basic controller/view setup worked  
nicely. I have a database running on MySQL, and I've modified  
database.yml accordingly, and restarted the app in Locomotive.

Entering "ruby script/generate scaffold Product Admin" starts  
working, but ends up with the following output:

       exists  app/controllers/
       exists  app/helpers/
       exists  app/views/admin
       exists  test/functional/
   dependency  model
       exists    app/models/
       exists    test/unit/
       exists    test/fixtures/
    identical    app/models/product.rb
    identical    test/unit/product_test.rb
    identical    test/fixtures/products.yml
getaddrinfo: No address associated with nodename


I'm not sure how to interpret this error. I'm fairly sure Rails is  
communicating with my database.

Thanks in advance for any help you can offer.


More information about the Locomotive-users mailing list