Permission of files installed from rubygems

Discussion in 'Ruby' started by Andre Nathan, Mar 6, 2007.

  1. Andre Nathan

    Andre Nathan Guest

    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
     
    Andre Nathan, Mar 6, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Learner
    Replies:
    4
    Views:
    2,113
    Learner
    Jan 27, 2006
  2. Replies:
    3
    Views:
    480
    Jason
    Apr 28, 2008
  3. Trans
    Replies:
    2
    Views:
    98
    Trans
    Sep 14, 2005
  4. Bret Pettichord

    Rubygems: Install if not already installed

    Bret Pettichord, Apr 4, 2007, in forum: Ruby
    Replies:
    0
    Views:
    253
    Bret Pettichord
    Apr 4, 2007
  5. levander
    Replies:
    4
    Views:
    105
    Eric Hodel
    Jun 15, 2007
Loading...

Share This Page