Why does my rails command always create a new application?

前端 未结 6 2069
执笔经年
执笔经年 2021-02-19 06:20

Forgive me as I\'m new to both *nix and ruby on rails. My rails command always creates a new application and I can\'t figure out why. Running \"rails new myApp\" will just gen

6条回答
  •  感情败类
    2021-02-19 07:16

    That sounds like the behavior of Rails 2, not Rails 3. With Rails 2, typing rails appname would create a new Rails application named appname. With Rails 3, the syntax is now rails new appname. You should double-check that you're using the version of Rails that you think you are. To do that, type rails --version.

提交回复
热议问题