I am trying to use RubyMine as much as possible and RubyMine sometimes to ask for gems which i'll not utilize for anything on myself (RubyMine does).
Is it possible to detect in Gemfile, that i am bundling from RubyMine? or in general: Is it possible to detect the tool i am bundling from (Terminal, iTerm, RubyMine, TeamCity)?
I know there is specificable platform of ruby as condition for gem. What i am looking for to put into my Gemfile is something like this:
tool :rubymine do
gem 'minitest-reporters'
gem 'ruby-debug'
end
In result when i'll run bundling from FOR EXAMPLE RubyMine, i'll get minitest-reporters and ruby-debug installed, BUT my colleague who does bundle from Terminal will NOT get these gems installed.