How to add existing folder into a RubyMine project?

I created a new project in RubyMine, and wanted to add my existing folders of Ruby scripts to it, but could not find a way to add the existing folder/directory from the RubyMine UI. Does anyone know whether RubyMine allow this kind of operation? Any help is much appreciated.

Yana

4 comments
Comment actions Permalink

Hi Yana,

At current moment RubyMine UI allows your to open any directory (as a new project) with existing ruby scripts or create new project in some folder and then create all necessary files under this folder.

0
Comment actions Permalink

Hi Roman.Chernyatchik,

Thanks for your hint, unfortunately, opening existing folder as new project won't help me here. What I am trying to do is to migrate my Ruby projects which has hierarchy of folders of Ruby scripts, I need a way to make these existing folder showing up in the newly created RubyMine project rather than open each folder as a new project, probably a feature like rightclicking on the project to pick a pop up menu item of "Add existing folder" would help.

0
Comment actions Permalink

Ok, and if open parent folder of your folders as RubyMine project? In fact I understand your issue and it is reasonable to port conception of "content roots" from IDEA.

0
Comment actions Permalink

Hi Roman.Chernyatchik. That was it, I open the root folder as a new project and I find all my folders of scripts. This is not very obvious(or not very user friendly), but works for me now.

Thanks for your help!

yana

0

Please sign in to leave a comment.