微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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获取更多信息.

原文地址:https://www.jb51.cc/ruby/268513.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐