[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-08-29 Thread Chris Stump
I had the same problem as Elle. In my case /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/bin didn't exist. I cd'd into /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 and ran `sudo mkdir bin` and then I stopped getting the write per

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-22 Thread elle
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 w

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-17 Thread Charles Johnson
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 wrote: > > Signed in as root

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-16 Thread elle
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.framewor

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-16 Thread Charles Johnson
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 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 wan

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-15 Thread elle
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 do

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-15 Thread kangghee
Ah...this is a good topic. I'm new to Ruby while using the Mac. So it seems that Mac's installed Ruby can be uninstalled properly as well. Then we can definitely update it to get the latest version. Thanks Charles. --~--~-~--~~~---~--~~ You received this message

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-14 Thread Charles Johnson
The problem is with your path. You want /System/Library... but you are doing -/System/Library... See the difference? Cheers-- Charles On Fri, Feb 13, 2009 at 3:35 PM, elle wrote: > > gem list -d rails gives me: > > *** LOCAL GEMS *** > > rails (2.2.2, 1.2.6) >Author: David Heinemeier Hans

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread elle
gem list -d rails gives me: *** LOCAL GEMS *** rails (2.2.2, 1.2.6) Author: David Heinemeier Hansson Rubyforge: http://rubyforge.org/projects/rails Homepage: http://www.rubyonrails.org Installed at (2.2.2): /Library/Ruby/Gems/1.8 (1.2.6): /System/Library/Framewor

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread Charles Johnson
On Fri, Feb 13, 2009 at 2:43 PM, elle wrote: > > Running it with sudo I get: > > ERROR: While executing gem ... (Gem::InstallError) > Unknown gem rails >= 0 > > Do I need to actually sign in as root? > > > Cheers, > Elle > > You should be OK with sudo. Can you post your *exact* command line,

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread elle
Running it with sudo I get: ERROR: While executing gem ... (Gem::InstallError) Unknown gem rails >= 0 Do I need to actually sign in as root? Cheers, Elle On Feb 14, 2:52 am, Charles Johnson wrote: > On Thu, Feb 12, 2009 at 9:22 PM, elle wrote: > > > I've updated rails and other gems

[Rails] Re: gem cleanup and rails 1.2.6 problem

2009-02-13 Thread Charles Johnson
On Thu, Feb 12, 2009 at 9:22 PM, elle wrote: > > I've updated rails and other gems following: > http://wiki.rubyonrails.org/rails/pages/HowtoUpgrade > When I try to run: gem cleanup, I get the following error: > > Cleaning up installed gems... > Attempting to uninstall rails-1.2.6 > ERROR: While