Missing script/generate in Rails 3

风流意气都作罢 提交于 2019-11-30 11:07:12

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.

try

rails generate ...

the only script existing now is rails all others will be called as parameter of rails.

Take a look a the Ruby on Rails Guides: Getting Started with Rails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!