Logged as root, went to /System/Library/Frameworks/Ruby.framework/ Versions/1.8/usr/lib/ruby/gems/1.8 Running % whoami gives me: root
Then running % ls -l gives me: total 8 drwxr-xr-x 31 root wheel 1054 31 Oct 16:51 cache drwxr-xr-x 32 root wheel 1088 31 Oct 16:51 doc drwxr-xr-x 31 root wheel 1054 31 Oct 16:51 gems -rw-r--r-- 1 root wheel 4 5 Jan 2008 source_cache drwxr-xr-x 31 root wheel 1054 31 Oct 16:51 specifications Thanks, Elle On Feb 18, 12:26 am, Charles Johnson <[email protected]> wrote: > Log in as root, and go > to > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. > 8/binand > post the owner, group and permissions on one of the files. Also post the > output of "whoami" command. > > Thanks. > > Charles > > On Mon, Feb 16, 2009 at 3:47 PM, elle <[email protected]> wrote: > > > Signed in as root and made sure I have the correct path and the same > > happens. It asks if I want to uninstall rails. I say yes and it gives > > me an error: > > ERROR: While executing gem ... (Gem::FilePermissionError) > > You don't have write permissions into the /System/Library/ > > Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin > > directory. > > > Why is this happening? What should I do? > > > Thanks, > > Elle > > > On Feb 17, 5:52 am, Charles Johnson <[email protected]> wrote: > > > Yes, please sign in as root, and be sure you get the path right: is > > starts > > > /System... but not -/System... > > > > On Sun, Feb 15, 2009 at 5:27 PM, elle <[email protected]> wrote: > > > > > Sorry for the late reply -- for some reason missed your post till now. > > > > Running the command with the correct path and sudo, asks me if I want > > > > to remove executables: rails in addition to the gem? [Yn] > > > > When I say y, I get an error: > > > > ERROR: While executing gem ... (Gem::FilePermissionError) > > > > You don't have write permissions into the /System/Library/ > > > > Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin > > > > directory. > > > > > Should I sign in as root? > > > > > Cheers, > > > > Elle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

