This is driving me nuts - the Ruby docs mention REXML::Formatters::Default, REXML::Formatters::Transitive, and REXML::Formatters::Pretty. Documentation all over the web talks about using these to format REXML::Documents. But *nothing* I can find anywhere mentions where this Formatters package is supposed to come from, and I''ve looked at 6 different machines with recent Ruby installations (from 1.8.3 to 1.8.6), several of which aren''t mine, and not a single one of them has this package. I give up. How on earth are you supposed to get these? Where do they come from, and why don''t I (or anyone I directly know) have them? Thanks, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 27, 2007 3:54 PM, Bill Kocik <bkocik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > This is driving me nuts - the Ruby docs mention > REXML::Formatters::Default, REXML::Formatters::Transitive, and > REXML::Formatters::Pretty. Documentation all over the web talks about > using these to format REXML::Documents. But *nothing* I can find > anywhere mentions where this Formatters package is supposed to come > from, and I''ve looked at 6 different machines with recent Ruby > installations (from 1.8.3 to 1.8.6), several of which aren''t mine, and > not a single one of them has this package. > > I give up. How on earth are you supposed to get these? Where do they > come from, and why don''t I (or anyone I directly know) have them?I have /usr/local/lib/ruby/1.8/rexml. I compiled my Ruby from source. I can only assume that''s how I got it. -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 27, 5:00 pm, "Greg Donald" <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have /usr/local/lib/ruby/1.8/rexml. I compiled my Ruby from source. > I can only assume that''s how I got it.But do you have /usr/local/lib/ruby/1.8/rexml/formatters? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 27, 2007 4:27 PM, Bill Kocik <bkocik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> But do you have /usr/local/lib/ruby/1.8/rexml/formatters?Yes. # ls -lavh /usr/local/lib/ruby/1.8/rexml/formatters total 24K drwxr-xr-x 2 root root 4.0K Nov 7 11:09 . drwxr-xr-x 8 root root 4.0K Nov 7 11:09 .. -rw-r--r-- 1 root root 2.8K Jul 29 21:26 default.rb -rw-r--r-- 1 root root 4.4K Jul 29 21:26 pretty.rb -rw-r--r-- 1 root root 1.8K Jul 29 21:26 transitive.rb -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 27, 2007 4:44 PM, Greg Donald <gdonald-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Nov 27, 2007 4:27 PM, Bill Kocik <bkocik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > But do you have /usr/local/lib/ruby/1.8/rexml/formatters? > > Yes. > > # ls -lavh /usr/local/lib/ruby/1.8/rexml/formatters > total 24K > drwxr-xr-x 2 root root 4.0K Nov 7 11:09 . > drwxr-xr-x 8 root root 4.0K Nov 7 11:09 .. > -rw-r--r-- 1 root root 2.8K Jul 29 21:26 default.rb > -rw-r--r-- 1 root root 4.4K Jul 29 21:26 pretty.rb > -rw-r--r-- 1 root root 1.8K Jul 29 21:26 transitive.rbI just checked another machine where I compiled Ruby from source and it''s all there too. -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Bill, Checked in out on my machine and NO rexml/formatters. Macbook with 10.4.10 and ruby 1.8. compiled from source. So it is not on OS X maybe? Cheers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have a Fedora production server, as well as my local machine. Both do not have rexml/formatters either. Very frustrating, -j. On Nov 27, 10:28 pm, Peter De jong <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi Bill, > > Checked in out on my machine and NO rexml/formatters. > Macbook with 10.4.10 and ruby 1.8. compiled from source. > So it is not on OS X maybe? > > Cheers > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Oh, my local machine is Mac OS X Tiger, compiled Ruby from source... Mac OS X --> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1] Fedora --> ruby 1.8.4 (2005-12-24) [i386-linux] On Dec 4, 11:12 am, justinwr <justi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have a Fedora production server, as well as my local machine. Both > do not have rexml/formatters either. > > Very frustrating, > -j. > > On Nov 27, 10:28 pm, Peter De jong <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > Hi Bill, > > > Checked in out on my machine and NO rexml/formatters. > > Macbook with 10.4.10 and ruby 1.8. compiled from source. > > So it is not on OS X maybe? > > > Cheers > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---