How do I configure Aptana 3 IDE to run rspec tests for my Rails project?
Asked Answered
T

1

6

I'm using Aptana Studio 3 on Mac High Sierra. I have imported my Rails 5 project and would like to debug some rspec tests in the IDE. On the command line, I normally run

bundle exec rspec /spec/path/test_spec.rb

but I would like to be able to set breakpoints and debug at a more granular level. I tried following the instructions for setting up rspec here -- Running rspec on Aptana 3 but when I open my Command menu and select the "rspec" option, most of the menu options are empty

enter image description here

Even when I further expand the menus, everything is disabled (empty) ...

enter image description here

What else do I need to do to configure my IDE to run rspec tests?

Th answered 12/10, 2019 at 17:41 Comment(2)
Did you tried again after restarting it ?Lanugo
Also, try this tutorial once.Lanugo
L
0

Did you try again after restarting it?

You can try Ctrl + Shift + R and also this tutorial specifically assumes Terminal use. If your errors still remain then try reaching the mailing list

mailing-list

Lanugo answered 21/10, 2019 at 16:52 Comment(4)
I can run the spec fine in a terminal, but the reason I want to use the IDE is so I can do things that a termianl cannot do easily, like debugging.Th
Oh, I see, So did any of these things helped you?Lanugo
Hi, It's not that I'm getting errors, it's just that I don't know how to configure the IDE and I can't find anything in the documentation to help me along.Th
Oh. Now I got it. In that case, I need to run the IDE and experience the situation, Similar to what you are in.Lanugo

© 2022 - 2024 — McMap. All rights reserved.