Absolute path for gem-like libraries causes problem sharing .iml file
We have a large code base where we spin out a gem once in a while.
Before a gem is ready to have a git repository and a RubyMine project on its own, the 'gem-in-the-making' lives in the same repository and project as the main application. It already fully complies to all gem requirements, in terms of structure and .gemspec and all that -- it just is not mature enough to spin out.
For this working method there is ample support from Bundler and RubyGems. In particular, by using the :path option when declaring the gem-in-the-making in the project Gemfile, like this
gem 'gem_in_the_making', :path => 'gem_in_the_making'
However, RubyMine turns that line in the Gemfile into this line in the .iml file
<orderEntry type="library" scope="PROVIDED" name="gem_in_the_making (v0.0.0, C:/some/absolute/path/to/our_project/gem_in_the_making) [path][gem]" level="application" />
Is there an option to force RubyMine to include the path as entered in the Gemfile?
-jennek
Please sign in to leave a comment.
Similar issue as:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206738055-Full-path-in-gem-library-names-causes-problems-with-sharing-iml-files
Hello, Jennek,
sorry for keeping you waiting. That appears to be a known issue, please vote for it:
https://youtrack.jetbrains.com/issue/RUBY-18218