|
Project
|
Ruby
|
|
Priority
|
Normal |
|
Type
|
Feature |
|
Fix versions
|
RubyMine 2.0.2 |
|
State
|
Fixed |
|
Assignee
|
Roman Chernyatchik |
|
Subsystem
|
RubyGems |
|
Affected versions
|
RubyMine 2.0.2 RC |
|
Fixed in build
|
http://groups.google.com/group/rubyversionmanager/browse_thread/thread/db3b4f4e4f9cc05c
Feel free to MSG me on Freenode (jacquesc), or hop on the #rvm channel if you have any questions. Thanks!!
I have several questions related to gemset separator. Where is rvm_gemset_seperator usually stored? In ~/.rvmrc ? Is it possible that 2 different projects defines different gemset separators in project rvmrc file?
Please explain me real difference between using gemsets and bundler gem. As far as I understand both approaches allow to specify named "gem-sandbox" for your application. More over bundler is a cross-platform solution. RM already supports bundler and gemsets support requires lot's of internal changes in RM architecture. It seems gemsets are easier to use, but I'm not sure that gemsets approach won't be replaced with bundler in future.
I really do think its worth having support in RM for both.
For the rvm_gemset_separator, it's only defined in ~./rvmrc and can not be per project. However, I think there should be a way to list the gemset paths without having to care about the rvm gemset separator so you can call one command. I will get confirmation from wayne on this.
Calling external scripts/commands isn't fast, so we usually try to avoid it
When setting the rvm gemset, you'll need to set GEM_HOME, GEM_PATH, and BUNDLE_PATH to the full path of the folder that is selected out of "rvm_gems_path".
I verified with wayne that this will do everything you need. In this case, I dont think you even need to worry about rvm_gemset_separator since the folder already have them in the name.
Let me know if you have any questions. Thanks!