[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

force gem to use a given version of library

Edouard Dantes

3/19/2009 8:30:00 AM

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-....

3 Answers

Rob Biedenharn

3/19/2009 12:55:00 PM

0

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-....

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


See http://rubygems.org/read...
and http://rubygems.org/read/...

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

-Rob

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



Eric Hodel

3/19/2009 10:58:00 PM

0

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

> See http://rubygems.org/read...
> and http://rubygems.org/read/...
>
> 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.


RichL

7/6/2011 10:58:00 PM

0

"moonpie" <mr_rc_moonpie@yahoo.com> wrote in message
news:39q917pr49pa36pmtsj5kd9fraq94qe2ob@4ax.com...
> On Wed, 6 Jul 2011 18:44:53 -0400, "RichL" <rpleavitt@yahoo.com>
> wrote:
>
>
>>
>>Well, I feel I've got to try to sort through it. I do feel an obligation
>>to
>>vote (my mom was really strong on that), it's like if I don't vote and
>>things get even more screwed up I feel guilty :-)
>
>
> at this point, I may be looking at not voting for the first time since
> I was able to vote. I cant see anybody worth voting for, right now.
>
> I'm pretty disgusted with the lot of them.
>
> Clinton, as usual, is making a lot of sense in the things he says.
> Some are totally impractical, but he's got some really good ideas.
>
> Can we just re-elect him?

No but we could elect Mrs. C!