Force gem to use a given version of library

hi,

i have to install a gem and force it to use a given version of two
installed library, (removing the older will trash my system)

how can i tell gem to use the version i want?

thanks

···

--
Posted via http://www.ruby-forum.com/.

require 'rubygems'
gem 'htmlentities', '=4.0.0'
gem 'builder', '~> 2.0'

See http://rubygems.org/read/chapter/4
and http://rubygems.org/read/chapter/16

Except any time you read "require_gem" just mentally change that to "gem"

-Rob

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com

···

On Mar 19, 2009, at 4:30 AM, Edouard Dantes wrote:

hi,

i have to install a gem and force it to use a given version of two
installed library, (removing the older will trash my system)

how can i tell gem to use the version i want?

thanks
-- Posted via http://www.ruby-forum.com/\.

I just updated those chapters to remove require_gem. Let me know if you find others.

···

On Mar 19, 2009, at 05:55, Rob Biedenharn wrote:

See http://rubygems.org/read/chapter/4
and http://rubygems.org/read/chapter/16

Except any time you read "require_gem" just mentally change that to "gem"