Permission of files installed from rubygems

A

Andre Nathan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top