Forum: Ruby on Rails Can't seem to instantiate Builder::XmlMarkup.new?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E759aaf28892fcb753f96dd5be2c776e?d=identicon&s=25 InventoryTrackers (Guest)
on 2009-02-19 18:48
(Received via mailing list)
I am unable to instantiate the Builder::XmlMarkup.new on one
development machine ( Windows ) and upon my CentOS server. When I run
the same code on my Ubuntu 8.10 VMWare machine, everything runs great?

In the Builder documentation ( http://builder.rubyforge.org/ ) it
shows to put this at the top of the controller;

require 'rubygems'
require_gem 'builder'

but this causes the controller to fail when it opens. I've locally
installed the 'Builder' gem although this doesn't exist in my Linux
stack and runs fine. Here's the details on the GEM I installed;
gem = "Builder" by jim@weirichhouse.org at http://onestepback.org/

Does ActiveRecord ( as of 2.2.2 ) now have this feature? If so, why
can't my controller create an instance of this class?

David
This topic is locked and can not be replied to.