{"action":"created","issue":{"url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/30","labels_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/30/comments","events_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/30/events","html_url":"https://github.com/bertramdev/sass-grails-asset-pipeline/issues/30","id":80525112,"number":30,"title":"Grails 3.0.1","user":{"login":"danielwalker","id":650493,"avatar_url":"https://avatars.githubusercontent.com/u/650493?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwalker","html_url":"https://github.com/danielwalker","followers_url":"https://api.github.com/users/danielwalker/followers","following_url":"https://api.github.com/users/danielwalker/following{/other_user}","gists_url":"https://api.github.com/users/danielwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwalker/subscriptions","organizations_url":"https://api.github.com/users/danielwalker/orgs","repos_url":"https://api.github.com/users/danielwalker/repos","events_url":"https://api.github.com/users/danielwalker/events{/privacy}","received_events_url":"https://api.github.com/users/danielwalker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-25T12:41:33Z","updated_at":"2015-06-02T15:56:50Z","closed_at":null,"body":"Hi, is this supposed to work with grails 3.0.1? I'm getting the following error:\r\n\r\nLoadError: no such file to load -- sass... at SassProcessor.groovy:63\r\n\r\nI've tried uninstalling the sass gem, running without it and reinstalling, but I haven't had any joy.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/comments/107999087","html_url":"https://github.com/bertramdev/sass-grails-asset-pipeline/issues/30#issuecomment-107999087","issue_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/30","id":107999087,"user":{"login":"julianooi","id":975636,"avatar_url":"https://avatars.githubusercontent.com/u/975636?v=3","gravatar_id":"","url":"https://api.github.com/users/julianooi","html_url":"https://github.com/julianooi","followers_url":"https://api.github.com/users/julianooi/followers","following_url":"https://api.github.com/users/julianooi/following{/other_user}","gists_url":"https://api.github.com/users/julianooi/gists{/gist_id}","starred_url":"https://api.github.com/users/julianooi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianooi/subscriptions","organizations_url":"https://api.github.com/users/julianooi/orgs","repos_url":"https://api.github.com/users/julianooi/repos","events_url":"https://api.github.com/users/julianooi/events{/privacy}","received_events_url":"https://api.github.com/users/julianooi/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T15:56:50Z","updated_at":"2015-06-02T15:56:50Z","body":"I had to add this into my application.yml, but sometimes, it stops working(stack trace below) until I do another page refresh, then it will compile the scss files again.\r\n\r\napplication.yml\r\n```yml\r\ngrails:\r\n    assets:\r\n        sass:\r\n            resolveGems: true\r\n```\r\n\r\nFailing stack trace\r\n```Java\r\nNameError: undefined local variable or method `assetFilePath' for main:Object\r\n                (root) at <script>:4\r\n               process at SassProcessor.groovy:197\r\n       processedStream at AbstractAssetFile.groovy:87\r\n          fileContents at DirectiveProcessor.groovy:291\r\n  serveUncompiledAsset at AssetPipeline.groovy:65\r\n      doFilterInternal at AssetPipelineFilter.groovy:81\r\n              doFilter at XFrameOptionsFilter.groovy:19\r\nERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[grailsDispatcherServlet] - Servlet.service() for servlet [grailsDispatcherServlet] in context with path [] threw exception\r\norg.jruby.embed.EvalFailedException: (NameError) undefined local variable or method `assetFilePath' for main:Object\r\n\tat org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[jruby-complete-1.7.18.jar:na]\r\n\tat org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[jruby-complete-1.7.18.jar:na]\r\n\tat org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[jruby-complete-1.7.18.jar:na]\r\n\tat org.jruby.embed.ScriptingContainer$runScriptlet.call(Unknown Source) ~[na:na]\r\n\tat asset.pipeline.sass.SassProcessor.process(SassProcessor.groovy:197) ~[sass-asset-pipeline-2.1.1.jar:na]\r\n\tat asset.pipeline.AbstractAssetFile.processedStream(AbstractAssetFile.groovy:87) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.DirectiveProcessor.fileContents(DirectiveProcessor.groovy:291) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.DirectiveProcessor$fileContents$1.call(Unknown Source) ~[na:na]\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) ~[groovy-2.4.3.jar:2.4.3]\r\n\tat asset.pipeline.DirectiveProcessor$fileContents$1.call(Unknown Source) ~[na:na]\r\n\tat asset.pipeline.AssetPipeline.serveUncompiledAsset(AssetPipeline.groovy:65) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.AssetPipelineFilter.doFilterInternal(AssetPipelineFilter.groovy:81) ~[asset-pipeline-3.0.1.jar:na]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat javax.servlet.FilterChain$doFilter.call(Unknown Source) ~[na:na]\r\n\tat com.tritbit.millihill.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.groovy:19) ~[main/:na]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:102) ~[spring-boot-actuator-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[spring-security-web-3.2.7.RELEASE.jar:3.2.7.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:73) ~[grails-web-mvc-3.0.1.jar:3.0.1]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67) ~[grails-web-mvc-3.0.1.jar:3.0.1]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration$MetricsFilter.doFilterInternal(MetricFilterAutoConfiguration.java:90) ~[spring-boot-actuator-1.2.3.RELEASE.jar:1.2.3.RELEASE]\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) ~[tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_40]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_40]\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.20.jar:8.0.20]\r\n\tat java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]\r\nCaused by: org.jruby.exceptions.RaiseException: (NameError) undefined local variable or method `assetFilePath' for main:Object\r\n\tat RUBY.(root)(<script>:4) ~[na:na]\r\n\tat asset.pipeline.sass.SassProcessor.process(SassProcessor.groovy:197) ~[sass-asset-pipeline-2.1.1.jar:na]\r\n\tat asset.pipeline.AbstractAssetFile.processedStream(AbstractAssetFile.groovy:87) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.DirectiveProcessor.fileContents(DirectiveProcessor.groovy:291) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.AssetPipeline.serveUncompiledAsset(AssetPipeline.groovy:65) ~[asset-pipeline-core-2.1.1.jar:na]\r\n\tat asset.pipeline.AssetPipelineFilter.doFilterInternal(AssetPipelineFilter.groovy:81) ~[asset-pipeline-3.0.1.jar:na]\r\n\tat com.tritbit.millihill.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.groovy:19) ~[main/:na]\r\n```"}}