Hey all

I got myself into a bit of a corner.  I unpacked hpricot 0.8.2 into my
vendor/gems folder then realised that i needed to unpack 0.8.1 instead.
No problem, i thought, i'll just delete that folder out of gems, change
the config.gem specification in environment.rb, and do it again.  But
now i get this error whenever i try to do anything with rake:

rake aborted!
can't activate , already activated hpricot-0.8.2

I tried commenting out the line in environment.rb, which is

  config.gem "hpricot", :version => '0.8.1'

and doing

  rake gems:refresh_specs

This worked insofar as i was able to run rake without generating the
error, but then when i uncomment the line, and try to unpack hpricot
0.8.1 then i get the error again.

Can anyone set me straight on this?  Presumably somewhere other than
vendor/gems 'knows' which gems are unpacked?  Where is this info held?

Grateful for any advice - max
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to