将鞋子集成到 Aptana Studio RadRails 中 [英] Integrate Shoes into Aptana Studio RadRails
本文介绍了将鞋子集成到 Aptana Studio RadRails 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用 RadRails 直接从 Aptana Studio 运行我的 Carpet 应用程序?将 shoes.exe 设置为 VM/Interpreter 将不起作用.
How can I run my Carpet applications directly from Aptana Studio with RadRails? Setting the shoes.exe as VM/Interpreter won't work.
推荐答案
如果您在 Ruby 项目中有该文件,您可以执行以下操作:
If you have the file in a Ruby project, you can do the following:
- 转到运行 -> 外部工具 -> 外部工具...
- 创建一个新工具,为其命名(例如鞋子")
- 将位置设置为 Shoes 二进制文件,例如,在我的系统上它是
C:\Program Files\Common Files\Shoes\0.r1134\shoes.exe
- 将工作目录设置为
${workspace_loc}${project_loc}
(您可以更改它以满足您的需要,但我认为项目的基本目录与任何设置的位置一样好作为工作目录) - 将参数设置为
"${workspace_loc}${resource_path}"
双引号应该被包含在内,否则路径中的任何空格都会把事情搞砸.莉>
- Go to Run -> External Tools -> External Tools...
- Create a new tool, name it something (like, say, "Shoes")
- Set Location to the Shoes binary, for example, on my system it's
C:\Program Files\Common Files\Shoes\0.r1134\shoes.exe
- Set Working Directory to
${workspace_loc}${project_loc}
(You can change this to fit your needs, but I'd assume the project's base directory is as good a place as any to set as the working directory) - Set Arguments to
"${workspace_loc}${resource_path}"
The double quotes should be included, otherwise any spaces in your path will muck things up.
就是这样.现在您可以通过运行 -> 外部工具 -> 鞋子或使用工具栏上的外部工具图标来运行它.
That's it. Now you can run it by going to Run -> External Tools -> Shoes, or using the External Tools icon on the toolbar.
这篇关于将鞋子集成到 Aptana Studio RadRails 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文