From: Matthew Eichler on
Daniel,

Yes, your simpler require's work on Fedora as well, but CygWin *still*
cannot resolve the dependencies (I get the same error).

gr, Mat

> On Aug 1, 2006, at 10:46 AM, Matthew Eichler wrote:
>
>> Farrel,
>>
>> OK, then I get
>> /usr/lib/ruby/site_ruby/1.8/rubygems.rb:204:in
>> `report_activate_error':
>> Could not find RubyGem builder (> 0.0.0) (Gem::LoadError)
>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'
>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
>> `require_gem_with_options'
>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
>> `require_gem'
>> from transform-csv.rb:12
>>
>> gr, Mat
>
> Only use require_gem if you need a specific gem version  and if you
> do you still need to require "the_gem_lib". I think require_gem is
> now named activate_gem to help lessen the confusion.
>
> To get it to work:
>
> require "rubygems"
> require "builder"
>
> -- Daniel
>




From: Matthew Eichler on
Sorry, to clarify, on CygWin, if I do:

require 'rubygems'
require 'csv'
require 'builder'

... I get ...

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__':
no such file to load -- builder (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from transform-csv.rb:9

... but if I do:

require 'rubygems'
require 'csv'
require_gem 'builder'

... I get instead ...

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error':
Could not find RubyGem builder (> 0.0.0) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'
from transform-csv.rb:9

*both* versions work OK on Linux/Fedora.

gr, Mat


> Daniel,
>
> Yes, your simpler require's work on Fedora as well, but CygWin *still*
> cannot resolve the dependencies (I get the same error).
>
> gr, Mat
>
>> On Aug 1, 2006, at 10:46 AM, Matthew Eichler wrote:
>>
>>> Farrel,
>>>
>>> OK, then I get
>>> /usr/lib/ruby/site_ruby/1.8/rubygems.rb:204:in
>>> `report_activate_error':
>>> Could not find RubyGem builder (> 0.0.0) (Gem::LoadError)
>>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'
>>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
>>> `require_gem_with_options'
>>> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
>>> `require_gem'
>>> from transform-csv.rb:12
>>>
>>> gr, Mat
>>
>> Only use require_gem if you need a specific gem version  and if you
>> do you still need to require "the_gem_lib". I think require_gem is
>> now named activate_gem to help lessen the confusion.
>>
>> To get it to work:
>>
>> require "rubygems"
>> require "builder"
>>
>> -- Daniel
>>