On Thu, Jun 4, 2009 at 3:02 PM, Doug Lilla <[email protected]
> wrote:

>
> Conrad Taylor wrote:
> > On Thu, Jun 4, 2009 at 2:24 PM, Doug Lilla
> > <[email protected]
> >> wrote:
> >
> >> > If that's the case, why are your error messages referencing files in
> >> >
> >>  - RUBY VERSION: 1.9.1 (2009-05-12 patchlevel 129)
> >>     - /usr/local/lib/ruby/gems/1.9.1
> >>     - http://gems.rubyforge.org/
> >>     - http://gems.github.com/
> >>
> >> I guess I will need to reinstall? My set-up was working fine until I
> >> upgraded. Thanks for your help!
> >>
> >> DL
> >>
> >
> > DL, please try doing the following:
> >
> > rm -rfi ${HOME}/.gem
> >
> > -Conrad
>
> Conrad,
>
> I used the command you suggested, ended up deleting some 1.8 files and
> then came up with this:
>
>
> Doug-Lillas-Computer:~ douglilla$ rm -rfi ${HOME}/.gem
> examine files in directory /Users/douglilla/.gem? yes
> examine files in directory /Users/douglilla/.gem/ruby? yes
> examine files in directory /Users/douglilla/.gem/ruby/1.8? yes
> examine files in directory /Users/douglilla/.gem/ruby/1.8/cache? yes
> remove /Users/douglilla/.gem/ruby/1.8/cache/actionmailer-2.3.2.gem? no
> remove /Users/douglilla/.gem/ruby/1.8/cache/actionpack-2.3.2.gem? no
> remove /Users/douglilla/.gem/ruby/1.8/cache/activerecord-2.3.2.gem? no
> remove /Users/douglilla/.gem/ruby/1.8/cache/activeresource-2.3.2.gem? no
> remove /Users/douglilla/.gem/ruby/1.8/cache/activesupport-2.3.2.gem? no
> remove /Users/douglilla/.gem/ruby/1.8/cache/builder-2.1.2.gem? no
>
>
> Apparently a lot of gems got installed in the wrong directory??
>
> Thanks,
>
> DL


DL, all you gems should be installed in the following:

For Ruby 1.9.1 gems:   /usr/local/lib/ruby/gems/1.9.1

For Ruby 1.8    gems:   /usr/local/lib/ruby/gems/1.8

Thus, you shouldn't be installing your gems ${HOME}/.gems because this isn't
the
correct place for them if you're using sudo.

Good luck,

-Conrad

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