Source Folder

When I create a new Ruby project in RubyMine, I go into Project Settings to mark my test and source directories, but the only choices I have are "Excluded" and "Test Sources". There is no option for "Sources". To get my test to run, I have to put the lib directory as the working directory in the run configuration. What am I missing?
Thanks,
-Tracie

2 comments
Comment actions Permalink

Hello Tracie,

When I create a new Ruby project in RubyMine, I go into Project
Settings to mark my test and source directories, but the only choices
I have are "Excluded" and "Test Sources". There is no option for
"Sources". To get my test to run, I have to put the lib directory as
the working directory in the run configuration. What am I missing?


You don't need to mark anything as sources in RubyMine - the entire contents
of the project is treated as sources.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

That makes sense. It would be helpful if the documentation was adjusted (I realize you guys are probably still working on that).

What doesn't make sense to me then is why my test classes don't automatically know about the source classes I have in lib.
-Tracie

0

Please sign in to leave a comment.