简体   繁体   English

在Ruby gem中运行Rails应用程序?

[英]Running rails application inside a Ruby gem?

Is it possible to running embedded rails application inside a Ruby gem? 是否可以在Ruby gem中运行嵌入式Rails应用程序? How? 怎么样?

Yes, see how the rails plugin new --full --mountable command's output contains the test/dummy Rails application. 是的,请查看rails plugin new --full --mountable命令的输出如何包含test/dummy Rails应用程序。

This command will actually generate a gem structure for a Rails engine. 该命令实际上将为Rails引擎生成一个gem结构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM