加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-17 04:20:20 所属栏目:百科 来源:网络整理
导读:根据导轨使用情况: $rails new --helpUsage: 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
根据导轨使用情况:
$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以获取更多信息.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读