Hmm, actually, if you're using staticmatic it might be trickier, since it probably loads Haml before it loads any external Ruby code. You may have to add a wrapper for the staticmatic executable and put this in there.
On Fri, Mar 26, 2010 at 8:59 AM, sass_nerd <[email protected]> wrote: > Thank You Nathan, > where does that go? > > gem "haml-edge" > require "haml" > > Is it added to a particular file within staticmatic? > > > > On Mar 25, 5:55 pm, Nathan Weizenbaum <[email protected]> wrote: > > You can also use > > > > gem "haml-edge" > > require "haml" > > > > which should make sure Haml gets loaded from the haml-edge gem. > > > > On Thu, Mar 25, 2010 at 11:23 AM, Charles Roper > > <[email protected]>wrote: > > > > > On Mar 25, 6:16 pm, sass_nerd <[email protected]> wrote: > > > > I have had some difficulty getting these to work. > > > > http://nex-3.com/posts/89-powerful-color-manipulation-with-sass#comments > > > > finally got working in rails. After installing haml-edge gem the key > > > > is the > > > > addition config.gem "haml-edge" to config/environment.rb > > > > I would like to get this working in staticmatic. Is there an > > > > equivalent place to add config.gem for staticmatic and other > > > > frameworks besides rails? > > > > > I've just started using haml-edge with Staticmatic today. What I did > > > is clone the git repo, then rake install. These are the exact steps: > > > > > git clone git://github.com/nex3/haml.git > > > cd haml > > > rake install > > > > > This downloads and installs haml-edge as a gem called 'haml' rather > > > than 'haml-edge', which means you don't need to make any config > > > changes. > > > > > -- > > > 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]<haml%[email protected]>< > haml%[email protected]<haml%[email protected]> > >. > > > For more options, visit this group at > > >http://groups.google.com/group/haml?hl=en. > > > > > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- 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.
