How can I run my Carpet applications directly from Aptana Studio with RadRails? Setting the shoes.exe as VM/Interpreter won't work.
Asked
Active
Viewed 1,261 times
1 Answers
4
If you have the file in a Ruby project, you can do the following:
- 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.

Pesto
- 23,810
- 2
- 71
- 76
-
Thanks Pesto. Just one correction, 4. should read: ${workspace_loc}${project_path} – Jun 15 '10 at 13:42
-
I just tried to do this but under Run there is no "External Tools" under the Run tab or the options menu. I'm running Aptana Studio 3.4.2 on OS X Mavericks... – AreusAstarte Jan 05 '14 at 01:28