Why gem list --remote --all --prerelease for all projects on load?
Hi! RubyMine 5.4.1, OSX 10.8. I reloaded RubyMine yesterday, and I found it spun my laptop pretty far out of control in terms of CPU usage for the first few minutes. When I dug into it, I found that it had launched "gem list --remote --all --prerelease" once for every project, of which I had 6 loaded. Why does RubyMine do this? Can I turn it off?
I ran that command, timed, manually and found these stats: 103.47 real 77.45 user 5.11 sys
Seems like a big ol' waste of time and resources. I was glad I wasn't on battery at the time.
请先登录再写评论。
Hi,
we do this (in bacground) to be able to show list of all gems when user opens Settings|Ruby SDK and Gems.
This is a comporomise and (as any compromise) has some disadvantages.
I'd suggest you for file a usability issue in our tracker (http://youtrack.jetbrains.com/issues/RUBY) and we will think if we can invent better compromise :)
Regards, Oleg.
Thank you, I'll do that.
And I have! http://youtrack.jetbrains.com/issue/RUBY-13614
Thank you.