> While working through the tutorial:
>
> http://tap.rubyforge.org/rdoc/
>
> Now package the gem and install it (gem may require sudo):
>
> % rap gem
> % gem install pkg/sample-0.0.1.gem
My gem config does require sudo, and thus apparently doesn't set the
permissions correctly:
> il0304a-dhcp11:~ prabhaka$ tap run -- goodnight moon
> Configuration error: Permission denied - /Library/Ruby/Gems/1.8/gems/
> sample-0.0.1/tap.yml
> Check '/Library/Ruby/Gems/1.8/gems/sample-0.0.1/tap.yml'
> configurations
Specifically:
% ls -l /Library/Ruby/Gems/1.8/gems/sample-0.0.1/
total 8
-rw------- 1 root admin 0 Dec 11 15:06 README
drwxr-xr-x 3 root admin 102 Dec 11 15:06 lib
-rw------- 1 root admin 1337 Dec 11 15:06 tap.yml
drwxr-xr-x 4 root admin 136 Dec 11 15:06 test
Any idea how/why tap is setting the tap.yml and README to user-only?
-- Ernie P.