Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Permission of files installed from rubygems

Thread Tools

Permission of files installed from rubygems

Andre Nathan
Posts: n/a

I have some system administration libraries that I would like to
install as a gem on my servers. However, these servers also have local
users who should not be able to require those libraries from their
scripts. Is it possible to specify the permissions a file or directory
will be installed with in the gemspec file?

If not, is it possible to make rubygems search for libraries in more
than one location, so that I could install it locally for root, in,
say, /root/gems, but also allow root to load the gems that were
installed at the standard directory?

Thanks in advance,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rubygems 1.3.5 can't load 'rubygems/defaults/operating_sy..' Eric Roscher Ruby 3 11-24-2009 02:15 AM
Fixed: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {555F3418-D99E-4E51-800A-6E89CFD8B1D7} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19). Skybuck Flying Windows 64bit 1 06-29-2009 06:17 PM
rubygems and manually installed dependencies Trans Ruby 2 09-14-2005 07:56 PM
[BUG] RubyGems: "No such file to load -- rubygems/builder" Erik Veenstra Ruby 4 02-04-2005 10:28 PM
Problems with fresh install of RubyGems on Ubuntu Linux: No suchfile to load -- rubygems/builder (LoadError) Trevor Ruby 5 01-29-2005 12:52 AM