SVN & Multiple Projects with Rubymine

I admit I am not exactly an SVN guru, but I am having a hell of a time trying to create additional projects in Rubymine, and send them to a different place than the initial project I was working on.. Is there any preferred / recommended way to set up multiple projects with SVN ?

8 comments
Comment actions Permalink

I'm having the same problem with Git. I just can't seem to find a way to sync all opened projects.
The only changes that show up in the "Changes" view are those made in the first opened project...
Am I missing something or is this functionality missing from RubyMine?
If so I would very much appreciate it being implemented!

Best regards
  Martin

0
Comment actions Permalink

Hello Martin,

The only changes that show up in the "Changes" view are those made in the first opened project...
Am I missing something or is this functionality missing from RubyMine?


Which version of RubyMine do you use? This works in my case.. Please attach a screenshot. Also is Git VCS is configured for all your projects?

0
Comment actions Permalink

I have uploaded a short video as attachment.

sinatra-server is the project which I had opened first. Git works for this project.
RulesEngine was added later. I'm also not sure if I git init'ed RulesEngine via Rubymine or via command-line "git init".
But Rubymine should be able to recognize that in any case (I hope).

I'm using EAP #1287.



Attachment(s):
Rubymine_not_showing_changes.swf
0
Comment actions Permalink

Martin,

Thank you for your video it helped a lot. I've probably understood the problem. RubyMine assumes that you open each your real project (sinatra-server, RulesEngine, AdGenerator, ...) as separate RubyMine's project. But as far as I understand you trying to open/use all your real projects in one RubyMine's project(probably you specified several content roots and load path folders in RM's project settings) . RubyMine's "File|Open Directory" action is for opening existing RubyMine projects(with RubyMine icons) or for creating new RubyMine project by directory.

0
Comment actions Permalink

Yes, that's exactly how I configured my environment. So I have to open every project in a separate RubyMine window?
That would mean 8 open RubyMine windows and complete confusion for me
When opening all directories as one project (which I'd rather much prefer) everything except the Git change tracking works.

0
Comment actions Permalink

Some of features are supposed to work only per project (e.g. Rake tasks support). Also RubyMine will not provide nice support for rails applications if you have several rails applications in one folder. Why you need to keep open 8 projects in the same time? File | Reopen menu allows you to reopen recent projects. Also RubyMine works faster with small projects. So we doesn't recommend such workflow and we do not guarantee that all features will work as expected..

As for Git configuration you can change VCS mapping in settings. In File | Settings | Version Control you can setup each your project folder as separate Git project.

0
Comment actions Permalink

That File | Settings | Version Control is exactly what I was looking for, I just didn't look in that place.
The reason I would not want to reopen the other directories is that these are several Ruby projects which depend on each other (basically a server project, some projects containing logic, some containing model projects).
I can't/don't want to merge these into one project (how it would be done in Rails) is that I use the logic and model projects from other projects as well.

So when I want to add a new feature in the web-page I need to edit some files in the server project, some in the model projects, some in the logic projects.
I don't want to switch between the projects for that.

But your solution works, so thanks a lot!
I'm really quite amazed, how fast you responded

0
Comment actions Permalink

I can't/don't want to merge these into one project (how it would be done in Rails) is that I use the logic and model projects from other projects as well.


So when I want to add a new feature in the web-page I need to edit some files in the server project, some in the model projects, some in the logic projects.

Ok in this case your approach may be reasonable. Develop with pleasure

0

Please sign in to leave a comment.