I want to use SVN to share configurations with my team.

I know that I can share  configuration by modifying Mac:

~/Library/Preferences/RubyMine10.   I would like to know how to centralize configuration into the ruby  project so that I can use SVN to manage configuration for the team.  I have Windows XP and OSX users on my team.
Centralized  Configuration Components:
  • File templates
  • Live  Templates
  • Folders marked as test sources
  • Some key bindings
  • SDK and gem configuration (Make sure the whole team  has gems attached for documentation lookup and the right version of  gems.  It is very important for us to have the correct rspec attached)
  • Color  Schemes


Thanks!
Scott

2 comments
Comment actions Permalink

I posted this a while back.  Has anything changed for RubyMine 3.0.  I am getting ready to run a boot camp how can I share my configuration with the class?

0
Comment actions Permalink

Hello Scott,

I know that I can share  configuration by modifying Mac:

~/Library/Preferences/RubyMine10.   I would like to know how to centralize configuration into the ruby  project so that I can use SVN to manage configuration for the team.  I have Windows XP and OSX users on my team.

Centralized  Configuration Components:
  • File templates
  • Live  Templates
  • Some key bindings
  • Color  Schemes


Thanks!
Scott



File templates, live templates, keymaps and color schemes are IDE level settings and doesn't depend on project. On windows settings are stored in:

  • WinXP: C:\Documents and Settings\user\.RubyMineXX\config
  • Vista: C:\Users\user\.RubyMineXX\config


Some Mac users suggest to place  

~/Library/Preferences/RubyMineXX folder in version control (git/svn) and share with other people. Settings format is same on Mac/Unix/Windows

  • Folders marked as test sources

It is project settings, stored in [project]/.idea/*.iml. By the way "workspace.xml" file contains user settings such recent files names, breakpoints, files names open in editor tabs, etc - no sense to share it with other people.

  • SDK and gem configuration (Make sure the whole team  has gems attached for documentation lookup and the right version of  gems.  It is very important for us to have the correct rspec attached)

There is no clear way how to share it. I recommend to use bundler gem and store all gem depenendencies in Gemfile. Then RubyMine will automatically update it's GemManager settings according Gemfile content. In future (RM 4.0) we are going to reject "attached" gems setting and track dependencies in Gemfile.

0

Please sign in to leave a comment.