Eric Hodel wrote:
> On Jan 5, 2007, at 10:57, Jason Roelofs wrote:

> > Though newest version of gems now has just
> >
> > gem 'gem_name', '>=1.2.3'

Sorry, I think I posed my question badly.

I meant how do you specify a version or other constraints with
"require"

for example:
require 'gem_name'

require can only take one parameter

thus require 'gem_name', '>=1.23'  responds with:

ArgumentError: wrong number of arguments (2 for 1)

and require 'gem_name >=1.23' responds with

LoadError: no such file to load -- gem_name >=1.23

yes, I did use a gem name that I had on my machine

I tried in irb:
gem 'zentest', '>=3.4.3', response was
Gem::LoadError: Could not find RubyGem zentest <>=3.4.3

gem 'zentest' response was
Gem::LoadError: Could not find RubyGem zentest <>=0.0.0


I have gem 0.9.0 and ruby 1.8.5 on Windows