# A probelm about generate a rails project

**URL:** <https://www.ruby-forum.com/t/a-probelm-about-generate-a-rails-project/145276>\
**Category:** Rails\
**Created:** [August 7, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/a-probelm-about-generate-a-rails-project/145276 "2008-08-07T13:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrytie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/22d042/32.png) [@terrytie](https://www.ruby-forum.com/u/terrytie)\
**Post date:** [August 7, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/a-probelm-about-generate-a-rails-project/145276/1 "2008-08-07T13:31:22Z")

</div>

D:\app\>rails mm

create  
create app/controllers  
create app/helpers  
create app/models  
create app/views/layouts  
create config/environments  
create config/initializers  
create db  
create doc  
create lib  
create lib/tasks  
create log  
create public/images  
create public/javascripts  
create public/stylesheets  
create script/performance  
create script/process  
create test/fixtures  
create test/functional  
create test/integration  
create test/unit  
create vendor  
create vendor/plugins  
create tmp/sessions  
create tmp/sockets  
create tmp/cache  
create tmp/pids  
create Rakefile  
create README  
create app/controllers/application.rb  
create app/helpers/application\_helper.rb  
create test/test\_helper.rb  
create config/database.yml  
create config/routes.rb  
create config/initializers/inflections.rb  
create config/initializers/mime\_types.rb  
create config/initializers/new\_rails\_defaults.rb  
create config/boot.rb  
create config/environment.rb  
create config/environments/production.rb  
create config/environments/development.rb  
create config/environments/test.rb  
create script/about  
create script/dbconsole  
create script/destroy  
create script/generate  
create script/performance/benchmarker  
create script/performance/profiler  
create script/performance/request  
create script/process/reaper  
create script/process/spawner  
create script/process/inspector  
create script/runner  
create script/server  
create script/plugin  
create public/dispatch.rb  
create public/dispatch.cgi  
create public/dispatch.fcgi  
create public/404.html  
(erb):9:in `template': compile error (SyntaxError) (erb):9: syntax error, unexpected '=', expecting $end from c:/ruby/ lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/rails_generator/ commands.rb:287:in`template’  
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/…/lib/  
rails\_generator/commands.rb:365:in `render_file' from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/ rails_generator/commands.rb:363:in`open’  
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/…/lib/  
rails\_generator/commands.rb:363:in `render_file' from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/ rails_generator/commands.rb:246:in`file’  
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/…/lib/  
rails\_generator/commands.rb:245:in `open' from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/ rails_generator/commands.rb:245:in`file’  
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/…/lib/  
rails\_generator/commands.rb:284:in `template' ... 6 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/../lib/ rails_generator/scripts/../scripts.rb:31:in`run’  
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/bin/rails:17  
from c:/ruby/bin/rails:16:in `load’  
from c:/ruby/bin/rails:16

my rails is 2.1.0 , OS is Windows XP  
I have tried any versions of rails.  
but it also like that~  
I don’t know why, who can help me please~~  
thanks very much
