Missing script/generate in Rails 3

Tony picture Tony · Jun 11, 2010 · Viewed 13.5k times · Source

I just installed Rails 3 and created my first app. The install of Rails3 + ruby 1.9 went very smoothly but I am missing the generate script in script/generate.

I have created a new app from scratch with no options to verify.

Any idea why this is happening and how to fix it?

Answer

bsboris picture bsboris · Jun 11, 2010

all script/* commands has been removed from rails 3. You should use rails generate or rails g instead of script/generate, rails server or rails s instead of script/server and so on.