Forum: Ruby Permission of files installed from rubygems

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8b4249ca3bb8c123da9f7aca63a652e1?d=identicon&s=25 Andre Nathan (Guest)
on 2007-03-06 18:47
(Received via mailing list)
Hello

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,
Andre
This topic is locked and can not be replied to.