"gem" replaced "require_gem", sort of -
http://redhanded.hobix.com/bits/require_gemIsDeprecated.html

However, you seem to have a recent enough version of rubygems that
this shouldn't be a problem.  Maybe there's a missing require
'rubygems' somewhere?

Ethan

On 2/27/07, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> I'm getting an error with ci_reporter on my CI box. It works on my
> development machine.
>
> I've tracked the error down to the "gem" command, found here:
>
>       def create_builder
>         begin
>           gem 'builder'
>           require 'builder'
>         rescue
>           begin
>             gem 'activesupport'
>             require 'active_support'
>           rescue
>             raise LoadError, "XML Builder is required by CI::Reporter"
>           end
>         end unless defined?(Builder::XmlMarkup)
>         # :escape_attrs is obsolete in a newer version, but should do no
> harm
>         Builder::XmlMarkup.new(:indent => 2, :escape_attrs => true)
>       end
>
> I'm getting "undefined method 'gem'". I can't figure out where this
> method is supposed to be defined. I have the latest rubygems (0.9.2).
> And builder and activesupport. Any hints?
>
> Bret
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to