Hi All,
I am using Hpricot library for html parsing.
The strange thing that I observed is some html parsing is working with
hpricot gem version 0.6 and some with hpricot gem version 0.8.1.
So, I tried with using specific version of hpricot gem with following
command:
require ‘rubygems’
gem ‘hpricot’, ‘= 0.6’
But its giving error:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:280:in `activate’: can’t
activate hpr
icot (= 0.6, runtime) for [], already activated
hpricot-0.8.1-x86-mswin32 for []
(Gem::LoadError)
I want to know how to use more than one gem version in the same
application?
Is this feasible, if yes thn how?
Any pointer will be helpful to me.
Thanks in advance.