Unfortunately I have to deploy with Java-centric scripts that I don't have
much control over (lame sysadmins, grrr...) So, rake is probably out.
I did discover that the tags can be autogenerated every time by putting this
at the end of environment.rb:
Hobo::Dryml::DrymlGenerator.run
That should be pretty close to what you suggest.
But, doesn't writing to the production deploy dir feel a little messy? How
can I be sure my app servers are running exactly the same code? The
generators in 0.8.5 were pretty unstable, sometimes putting models in the
aside, sometimes changing the order of fields (not sure if this has been
fixed in 0.8.8, I'm just upgrading today).
Ultimately, I'd prefer to just check all my code into git and not worry
about it! Even the autogenerated stuff.
- Scott
On Wed, Aug 12, 2009 at 8:22 PM, Matt Jones <[email protected]> wrote:
>
> Not sure about turning them off - Tom may be able to answer that.
>
> For the git noise, however, I'd highly recommend adding the app/views/
> taglibs/auto directory to .gitignore. I do that, then run "rake
> hobo:generate_taglibs" as a post-symlink deploy task in Capistrano,
> and it works great.
>
> --Matt Jones
>
> On Aug 12, 2009, at 11:10 PM, Scott Bronson wrote:
>
> > Is there a way to turn off the auto taglibs and go back to the old
> > way of doing things?
> >
> > I just find the old way cleaner, faster in dev mode, and generates
> > less git noise. I miss it!
> >
> > Thanks for any ideas.
> >
> > - Scott
> >
> >
> >
> > >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---