Best to put this type of configuration in your
config/environments/production.rb file.

On Thu, Feb 10, 2011 at 8:03 AM, Ed Essey <ed.es...@gmail.com> wrote:

> Where do you set the Sass::Plugin.options?  I've read that it's in the
> environment.rb file, though I cannot figure out which environment.rb
> file it is as I cannot seem to find one that uses Sass:Plugin
> anywhere.
>
> On Dec 18 2010, 5:20 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> > This disables compilation:
> >
> >     Sass::Plugin.options[:never_update] = true
> >
> > chris
> >
> > On Sat, Dec 18, 2010 at 3:04 PM, Bradley Grzesiak <listro...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Presuming you're using Bundler, you could possibly move Sass into the
> > > development group, and do:
> >
> > > heroku config:add BUNDLE_WITHOUT=development:test
> >
> > > Just a thought...
> >
> > > :brad
> >
> > > On Sat, Dec 18, 2010 at 4:53 PM, Andrew Burleson <burles...@gmail.com
> >wrote:
> >
> > >> I have a site that runs on Heroku... I'm sure you've heard the story.
> >
> > >> So I made a simple rake task that compiles everything, and I can run
> > >> this before deploying to Heroku so all my CSS is up-to-date and
> > >> checked in as static assets.
> >
> > >> This is working fine, and I haven't encountered a problem yet, but
> > >> I've been warned that if, for some reason, Sass tries to update a file
> > >> for me (while running on Heroku) that it's going to throw an
> > >> exception. The easy fix for this would be to just tell Sass not to
> > >> autocompile in Production, but I haven't been able to find how to do
> > >> that.
> >
> > >> Any pointers? Thanks!
> >
> > >> --
> > >> 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 <
> haml%2bunsubscr...@googlegroups.com>.
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/haml?hl=en.
> >
> > > --
> > > Bradley Grzesiak
> > > co-founder, bendyworks llc
> > >http://bendyworks.com/
> >
> > > --
> > > 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 <haml%2bunsubscr...@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