On 2 Dec 2008, at 16:22, Caius Durling wrote:

> http://www.rubygems.org/read/chapter/16

Thanks.

That article is confusing though:

Doing this is cumbersome, so RubyGems provides a pessimistic operator  
~~> (read: approximately greater than). Using the pessimistic  
operator, we get:

require_gem 'library', '> 2.2'

What's going on?  Neither of the operators in the examples are "~>".   
Is that two typos of the operator in question in the space of two lines?
Did it mean:
require_gem 'library', '~> 2.2'
?
I believe Kernel#require_gem is deprecated too now, right?  I'm using  
Kernel#gem.

Am I right thinking that: gem 'library', '~> 2.2'
will accept 2.2, 2.2.1, 2.2.2, 2.2.100, but not 2.3?

(That was my assumption before...)

Ashley

-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to