[Locomotive-users] Problem with generate

Ryan Raaum ryan.raaum at gmail.com
Wed Nov 29 16:26:50 GMT 2006


On 11/27/06, Gareth Lloyd <glloyd at gmail.com> wrote:
>
> 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.


That really looks like a database communication error of some sort...   but
I haven't really got any good ideas on how to address it...

-r

Thanks in advance for any help you can offer.
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>



-- 
Ryan Raaum
http://raaum.org
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/6bec1a11/attachment.htm


More information about the Locomotive-users mailing list