如何在Aptana Studio 3上创建Rails运行配置?

问题描述 投票:2回答:1

我正在Mac OS X(High Sierra)上使用Aptana Studio 3。我已经导入了Ruby on Rails项目。我的项目性质设置如下

enter image description here

我想设置我的Rails服务器,以便可以从IDE运行它(或使用它进行调试)。奇怪的是,“运行/调试”设置仅包括PHP ...

enter image description here

那么,如何创建运行配置来运行服务器?当我右键单击我的项目时,选择“运行方式”->“运行配置”,我看到这样的屏幕。不确定这是否是配置事情的正确屏幕或操作方法...

enter image description here

ruby-on-rails configuration aptana aptana3
1个回答
0
投票

您几乎已设置好所有内容。您只需要为您的项目创建服务器。转到Windows > Preferences > Aptana Studio > Web Servers,然后单击“ New ...”。

enter image description here

然后选择选项“ Rails Server”,选择服务器的名称,然后单击“ Ok”。如果您的项目性质未设置为“ Rails”,则“ Project”选项在此处为空,您需要首先设置Rails性质。

enter image description here

现在只需在项目中使用鼠标右键单击,然后选择“ 运行服务器”。

© www.soinside.com 2019 - 2024. All rights reserved.