force gem to use a given version of library

E

Edouard Dantes

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
 
R

Rob Biedenharn

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

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
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top