Integrate Shoes into Aptana Studio RadRails

折月煮酒 提交于 2019-12-02 03:51:07

问题


How can I run my Carpet applications directly from Aptana Studio with RadRails? Setting the shoes.exe as VM/Interpreter won't work.


回答1:


If you have the file in a Ruby project, you can do the following:

  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.



来源:https://stackoverflow.com/questions/738092/integrate-shoes-into-aptana-studio-radrails

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!