Forum: Ruby on Rails scaffold not working on Windows XP

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
44f4120cfbb69b6e026207dee26226a0?d=identicon&s=25 Frank Rocco (Guest)
on 2006-01-01 20:54
(Received via mailing list)
Hello,

I did a fresh install of ruby182 and gem rails --include-dependencies

Now when I do:
rails receipts
cd receipts
ruby script\generate scaffold receipt receipt

rails does not create the views or controller.

What can I do?

Thanks

Frank
25e11a00a89683f7e01e425a1a6e305c?d=identicon&s=25 Wilson Bilkovich (Guest)
on 2006-01-01 22:16
(Received via mailing list)
On 1/1/06, Frank Rocco <farocco@mac.com> wrote:
>
Try ruby script\generate scaffold Receipt
The scaffold generator wants either CamelCase names (e.g. Bob or
SomeThing) or underscored 'Ruby-style' names.

The above command should create a receipt.rb model, and a
receipts_controller.rb controller, along with the views, tests, etc.
33478bbfbd0e2bf2737eca60a555af76?d=identicon&s=25 Frank (Guest)
on 2006-01-02 17:15
(Received via mailing list)
I tried your suggestion, but it still does not create a controller or
views.

Frank
----- Original Message -----
From: "Wilson Bilkovich" <wilsonb@gmail.com>
To: <rails@lists.rubyonrails.org>
Sent: Sunday, January 01, 2006 4:15 PM
Subject: Re: [Rails] scaffold not working on Windows XP


On 1/1/06, Frank Rocco <farocco@mac.com> wrote:
>
Try ruby script\generate scaffold Receipt
The scaffold generator wants either CamelCase names (e.g. Bob or
SomeThing) or underscored 'Ruby-style' names.

The above command should create a receipt.rb model, and a
receipts_controller.rb controller, along with the views, tests, etc.
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
90ea347c45cdfbc1c5767dd6304d9c10?d=identicon&s=25 Borja =?iso-8859-1?Q?Mart=EDn?= (Guest)
on 2006-01-02 17:15
(Received via mailing list)
does it say something about creating the table first?
did you install the mysql gem?
33478bbfbd0e2bf2737eca60a555af76?d=identicon&s=25 Frank (Guest)
on 2006-01-02 17:15
(Received via mailing list)
I am using postgresql.

Do I need to install anything?

Thanks

Frank
----- Original Message -----
From: "Borja Martín" <borjam@dagi3d.net>
To: <rails@lists.rubyonrails.org>
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP
33478bbfbd0e2bf2737eca60a555af76?d=identicon&s=25 Frank (Guest)
on 2006-01-02 17:15
(Received via mailing list)
Nevermind,

I found gem install postgres-pr

I feel foolish.

Thanks for your help.

Frank

----- Original Message -----
From: "Borja Martín" <borjam@dagi3d.net>
To: <rails@lists.rubyonrails.org>
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP
This topic is locked and can not be replied to.