ruby-on-rails – 什么是rails3应用程序构建器?

根据导轨使用情况:
$rails new --help
Usage:
  rails new APP_PATH [options]

Options:
  -b,[--builder=BUILDER]        # Path to a application builder (can be a filesystem path or URL)
      [--old-style-hash]         # Force using old style hash (:foo => 'bar') on Ruby >= 1.9
      [--skip-gemfile]           # Don't create a Gemfile

这个“应用程序构建器”引用了什么,它与应用程序模板(-m选项)的比较如何?

解决方法

Descriptions in API Doc

The application builder allows you to override elements of the
application generator without being forced to reverse the operations
of the default generator.

简而言之,您可以在创建新的rails应用程序之前定义认的依赖关系集.

检查this post获取更多信息.

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...