That would do it. Assigning a hash will blow away the defaults and probably
disable the sass cache, which means that importing compass gets very slow.

chris

On Tue, Feb 8, 2011 at 12:24 PM, Daniel Lopes <danielvlo...@gmail.com>wrote:

> Actually I'm was writing a Gem and getting some warnings when I wrote
> Sass::Plugin.options = ... After read the code looks like I need to
> user merge! instead but I'm sure it's not related to the speed of
> specs.
>
> On Feb 8, 5:13 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> > I don't think anything has changed in that respect unless you're running
> > edge rails.
> >
> >
> >
> > On Tue, Feb 8, 2011 at 4:06 AM, Daniel Lopes <danielvlo...@gmail.com>
> wrote:
> > > Hello Chris,
> >
> > > But in 3.0 I was able to disable the compilation in an specific
> > > environment. In my current version looks like Sass::Plugin.options
> > > don't have any effect in the compilation proccess. Is that right?
> >
> > > Is there any substitute for the options hash?
> >
> > > On Feb 7, 9:19 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> > > > it will be faster if you upgrade to the latest alpha but it will
> still be
> > > > slower than 3.0 was.
> >
> > > > chris
> >
> > > > On Mon, Feb 7, 2011 at 2:07 PM, Daniel Lopes <danielvlo...@gmail.com
> >
> > > wrote:
> > > > > Hello,
> >
> > > > > I'm moving my project to SCSS. Everything went really well but when
> I
> > > > > run my acceptance specs it's 6x slower than before.
> >
> > > > > I tried change the options but without success:
> >
> > > > >  config.after_initialize do
> > > > >    Sass::Plugin.options[:always_check]  = false
> > > > >    Sass::Plugin.options[:always_update] = false
> > > > >  end
> >
> > > > > My current workaround is avoid sass in test env with bundler. I'm
> > > > > using sass 3.1.0.alpha.21 with Rails 3.0.1 .
> >
> > > > > Any sugestion of how I should fix this? Thanks a lot.
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Haml" group.
> > > > > To post to this group, send email to haml@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > haml+unsubscr...@googlegroups.com.
> > > > > 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 haml@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > haml+unsubscr...@googlegroups.com.
> > > 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 haml@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com.
> 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 haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to