My changes are in the master branch of Haml and will be part of the 2.2
release. You can pull the master branch instead of stable and use it.
To configure multiple directories, you just
set Sass::Plugin.options[:template_location] to a hash of source directories
to target directories.

Chris


On Sat, Nov 15, 2008 at 9:09 AM, Serenity <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> Can anyone tell me how to get a rails app to incorporate multiple sass
> directories?
>
> I have a rails app that provides websites to multiple independent
> clients. I store each clients' assets in client-specific directories
> behind the scenes, for numerous reasons.
>
> I'd like to be able to use Sass, but putting independent clients'
> stylesheets in a common directory is not a risk I can take.
>
> I did read Chris Eppstein's post on the changes he made for
> specifically this purpose, and I'm looking into that. But as far as I
> understand, his changes haven't been incorporated in to the Haml
> distribution, and I'd like to do this in a low-maintenance way.
>
> In looking at the Sass documentation, it looks like I could use
> Sass::Engine, but I'd have to suck in the entire .sass files myself
> and pass them to it as a string. I haven't tried it yet - can anyone
> tell me if this is a valid approach, or if there are any gotchas you
> know about that I'm going to run into?
>
> Thanks,
> Avram
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to