Will be triggered when RubyGems repository is read-only.
Support for 'gksu' added: a16d1198055c
Leaving this open until also at least 'kdesu' is supported.
'kdesu' is supported: 1553ac86f191
Leaving open, since I do not know the situation on Mac (I don't have it). Have to peak around.
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
User: Martin Krauskopf <firstname.lastname@example.org>
Log: - separating sudo-functionality into separate class
- support for 'kdesu' (another part of issue #128575)
- trailing spaces (were removed on NetBeans editor save)
Hint, I've got from Tomas Hurka wrt. to Mac OS:
osascript -e 'do shell script "whoami" with administrator privileges'
If you need to write some files, try 'authopen'. See man authopen
Just note for myself, when I get back to this. Likely it will popup dialog similar to what gksu or kdesu emits. Will try
when I have access to Mac.
Can we provide a way to force sudo execution a 'Use sudo' check box? I have the write permissions into the gems folders
but anyway I got:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/bin directory.
Using the Mac OS.
You've probably changed the permission of your GEM_HOME and GEM_PATH directories, but installation of a gem might also
want to write into the /usr/bin directory to install executable like 'rake', 'rails', etc.
'Use Sudo' checkbox sound fine. Could you file a separate issue for it. I guess we will bring it when (and if) the
terminal emulator is available. Thanks.
*** Issue 170740 has been marked as a duplicate of this issue. ***