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
>
> On Feb 15, 11:16 am, Charles Johnson <[email protected]> wrote:
> > 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 <[email protected]> wrote:
> >
> > > 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/Frameworks/Ruby.framework/
> > > Versions/1.8/usr/lib/ruby/gems/1.8
> >
> > >     Web-application framework with template engine, control-flow
> > > layer,
> > >    and ORM.
> >
> > > Then running:
> > > sudo gem uninstall --install-dir -/System/Library/Frameworks/
> > > Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 rails
> > > gives me:
> >
> > > ERROR:  While executing gem ... (Gem::InstallError)
> > >    Unknown gem rails >= 0
> >
> > > Elle
> >
> > > On Feb 14, 8:19 am, Charles Johnson <[email protected]> wrote:
> > > > On Fri, Feb 13, 2009 at 2:43 PM, elle <[email protected]> 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,
> and
> > > the
> > > > output from gem list -d rails
> >
> > > > HTH
> >
> > > > Charles
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to