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