>From the looks of it, Heroku just take quite a while to compile the stylesheets. Things seem to be working now after I got from breakfast.
Sorry for the noise! Bram On May 17, 8:56 am, webdevotion <[email protected]> wrote: > Hello > > I have a config logic question related to Compass. > After following the Heroku documentation I also wanted to be able to > generate the stylesheets on my local dev machine. > > My solution was to implement some logic in the config and initializer > like this:https://gist.github.com/976056 > > But it only works when I leave of the if statements. > ( question: is environment != 'production' in production mode? ) > > environment = Compass::AppIntegration::Rails.env > if environment == 'production' > ... > else > ... > end > > My conclusions: > - core compass code logic works > - only problem is the if statement ( production vs development > machine ) > - when printing Compass::AppIntegration::Rails.env I get 'production' > on Heroku > > Thanks for your insights! > Bram -- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
