Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/52.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails RubyonRails和WebSphere我可以同时拥有这两个吗?_Ruby On Rails_Websphere - Fatal编程技术网

Ruby on rails RubyonRails和WebSphere我可以同时拥有这两个吗?

Ruby on rails RubyonRails和WebSphere我可以同时拥有这两个吗?,ruby-on-rails,websphere,Ruby On Rails,Websphere,我读到了在WebSphere中运行RubyonRails的地方,我想我可以试试。如果我在WebSphere的RoR中创建了网站,但后来想用Apache运行RubyonRails,我可以这样做吗?我想要websphere,因为我希望它用于其他事情,但我还有另一个问题,即相同的网站就足够了,但不能承担websphere的开销(但可以ror) 谢谢。是的。您可以先编写纯rails应用程序并在JRuby上运行,然后将其转换为WAR,安装ActiveRecordJDBC适配器并在Websphere上部署。

我读到了在WebSphere中运行RubyonRails的地方,我想我可以试试。如果我在WebSphere的RoR中创建了网站,但后来想用Apache运行RubyonRails,我可以这样做吗?我想要websphere,因为我希望它用于其他事情,但我还有另一个问题,即相同的网站就足够了,但不能承担websphere的开销(但可以ror)


谢谢。

是的。您可以先编写纯rails应用程序并在JRuby上运行,然后将其转换为WAR,安装ActiveRecordJDBC适配器并在Websphere上部署。这里有一个很好的指南:


当您使用完websphere后,只需在apache上将应用程序重新部署为纯rails,或者在mod_passenger上甚至更好(并切换到普通db适配器)

这本指南似乎过时了。你真的有这个功能吗?