Scaffold not working on Windows XP


#1

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


#2

On 1/1/06, Frank R. removed_email_address@domain.invalid 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.


#3

I tried your suggestion, but it still does not create a controller or
views.

Frank
----- Original Message -----
From: “Wilson B.” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Sunday, January 01, 2006 4:15 PM
Subject: Re: [Rails] scaffold not working on Windows XP

On 1/1/06, Frank R. removed_email_address@domain.invalid 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
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


#4

I am using postgresql.

Do I need to install anything?

Thanks

Frank
----- Original Message -----
From: “Borja Martín” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP


#5

does it say something about creating the table first?
did you install the mysql gem?


#6

Nevermind,

I found gem install postgres-pr

I feel foolish.

Thanks for your help.

Frank

----- Original Message -----
From: “Borja Martín” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Monday, January 02, 2006 10:19 AM
Subject: Re: [Rails] scaffold not working on Windows XP