attaching gems...what does this do under the scenes?

Hi, i'm a newbie trying to understand what it means (technically) that RubyMine project attaches to a gem?

I understand the gem install/uninstall command line syntax.  just wondering about why RubyMine introduces the concept of "attach".

Thanks!

2 comments
Comment actions Permalink

Hello Steve,

Attaching gems means that RubyMine will index the gems and make their contents
available for code completion etc.

Hi, i'm a newbie trying to understand what it means (technically) that
RubyMine project attaches to a gem?

I understand the gem install/uninstall command line syntax.  just
wondering about why RubyMine introduces the concept of "attach".


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Steve,

Also "attached" gems points RubyMine to enable support for some technology/framework related to gems. E.g. if "rspec"(or "rspec-rails" in rails applications) gem isn't attached, RubyMine will not suggest to run file using rspec test framework.

0

Please sign in to leave a comment.