将鞋子整合到Aptana Studio RadRails中 [英] Integrate Shoes into Aptana Studio RadRails

查看:184
本文介绍了将鞋子整合到Aptana Studio RadRails中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用RadRails直接从Aptana Studio运行我的地毯应用程序?将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. 将位置设置为Shoes二进制文件,例如,在我的系统上它是 C:\Program Files \Common Files \Shoes\0.r1134\shoes.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 Files\Common Files\Shoes\0.r1134\shoes.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天全站免登陆