XCode - Ruby on Rails 项目模板

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2165854/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 19:05:35  来源:igfitidea点击:

XCode - Ruby on Rails Project Templates

ruby-on-railsxcodetemplatesproject

提问by Mick Walker

Where can I find project templates for Ruby on Rails to use within projects?

在哪里可以找到在项目中使用的 Ruby on Rails 项目模板?

I am using Xcode version 3.2.2.

我正在使用 Xcode 3.2.2 版。

From what I understand, Apple stopped shipping all project templates with xcode and made them available as optional downloads, yet I cannot find the templates for Ruby on Rails anywhere.

据我所知,Apple 停止了所有带有 xcode 的项目模板,并将它们作为可选下载提供,但我在任何地方都找不到 Ruby on Rails 的模板。

Regards Mick

问候米克

回答by Ben

Because the "template" of a fresh rails app can change from version to version, you should use the rails new myappgenerator command at the Terminal, and the open the result in XCode organizer.

因为新 Rails 应用程序的“模板”可能会因版本而异,所以您应该rails new myapp在终端使用生成器命令,并在 XCode 管理器中打开结果。

More here: http://developer.apple.com/tools/developonrailsleopard.html

更多信息:http: //developer.apple.com/tools/developonrailsleopard.html