将鞋子集成到 Aptana Studio RadRails [英] Integrate Shoes into Aptana Studio RadRails

查看:15
本文介绍了将鞋子集成到 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:

  1. 转到运行 -> 外部工具 -> 外部工具...
  2. 创建一个新工具,为其命名(例如,鞋")
  3. 将 Location 设置为 Shoes 二进制文件,例如,在我的系统上是 C:Program FilesCommon FilesShoes.r1134shoes.exe
  4. 将工作目录设置为 ${workspace_loc}${project_loc} (您可以根据需要进行更改,但我认为项目的基本目录与任何设置一样好作为工作目录)
  5. 将参数设置为 "${workspace_loc}${resource_path}" 双引号应该包含在内,否则路径中的任何空格都会搞砸.李>
  1. Go to Run -> External Tools -> External Tools...
  2. Create a new tool, name it something (like, say, "Shoes")
  3. Set Location to the Shoes binary, for example, on my system it's C:Program FilesCommon FilesShoes.r1134shoes.exe
  4. 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)
  5. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆