Ah, I figured it out.  I was inspired by your email to poke around in my
Rake files.  It turns out I had written a Rake file that required the
environment.  This caused all my problems.
James

On 8/1/07, James Herdman <[EMAIL PROTECTED]> wrote:
>
> Hey Tim!
>
> Thanks for the email.  I'm in the process of taking a look for this
> requirement that you spoke of (require 'gettext/utils').  Do you remember
> roughly where you found it?
>
>
> James
>
> On 8/1/07, timcharper <[EMAIL PROTECTED] > wrote:
> >
> >
> > James,
> >
> > I just ran into this problem myself.  It turned out to be because of a
> > "require 'gettext/utils'".  I moved this requirement into the tasks
> > that actually needed it (there were two of them, make_mo and
> > update_po).  This fixed the problem.
> >
> > I would suggest looking to see if you have any require statements that
> > you can move into the tasks that actually need them.
> >
> > However, that said, the following are must be at the top of Rakefile
> >
> > <<EOF
> > require(File.join(File.dirname(__FILE__), 'config', 'boot'))
> >
> > require 'rake'
> > require 'rake/testtask'
> > require 'rake/rdoctask'
> >
> > require 'tasks/rails'
> > EOF
> >
> > Hope that helps!
> > Tim
> >
> > On Jul 17, 8:07 am, "James Herdman" < [EMAIL PROTECTED]> wrote:
> > > Thanks for the tip.  I'll check it out.
> > >
> > > On 7/17/07, Michael Koziarski < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > > > I'm having a wee bit of trouble building documentation for Edge
> > Rails
> > > > > (rev 7187).  When I attempt to run the doc:rails taask (or any
> > doc:*
> > > > > task), I get the following error:
> > >
> > > > This works fine for me.
> > >
> > > > > Has anyone else encountered this issue?  I can't seem to find any
> > > > > references to it on Google.
> > >
> > > > You could ask the rdoc maintainers on ruby-talk.  They'll probably
> > be
> > > > able to help.
> > >
> > > > --
> > > > Cheers
> > >
> > > > Koz
> >
> >
> > --~--~---------~--~----~------ ------~-------~--~----~
> > This message is part of the topic "RubyToken::AlreadyDefinedToken and
> > Edge Rails Docs" in the Google Group "Ruby on Rails: Core" for which you
> > requested email updates.
> > To stop receiving email updates for this topic, please visit the topic
> > at http://groups.google.com/group/rubyonrails-core/t/1f7edc924033c33f
> > -~----------~----~----~----~-- ----~----~------~--~---
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to