force rubymine to install gems in a fixed directory


When Rubymine tells me that there are some missing gems, it installs them in the local directory. Will there be a way of adding "sudo" to the installation of the gems to force it to install to the default directory?

Just a question - personally, I quit Rubymine, install the missing gems with sudo in a terminal, and then return to the program, so as to keep all in the same place. It would be good to be able to do that from within the program to save time!

Kind regards

1 comment
Comment actions Permalink

Hello Paul,

RubyMine always installs gems locally without sudo. We are not sure that 'sudo' is really needed for current rubygems version because rubygems understands both local and global gems. By the way it's not necessary to quit RubyMine you can just switch to terminal.


Please sign in to leave a comment.