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 heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to