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 <[email protected]> wrote:
> On Thu, Feb 12, 2009 at 9:22 PM, elle <[email protected]> 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 executing gem ... (Gem::InstallError)
> > Unknown gem rails = 1.2.6
>
> > Googling the problem, I found:http://www.ruby-forum.com/topic/170342
> > Running:
> > gem uninstall --install-dir -/System/Library/Frameworks/Ruby.framework/
> > Versions/1.8/usr/lib/ruby/gems/1.8 rails
>
> Become root, and then do it this way:
>
> gem uninstall --install-dir
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 8
> 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
-~----------~----~----~----~------~----~------~--~---