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

On Mar 19, 2009, at 4:30 AM, Edouard D. 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/.

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 B. http://agileconsultingllc.com
[email protected]

On Mar 19, 2009, at 05:55, Rob B. 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”

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs