{"action":"opened","issue":{"url":"https://api.github.com/repos/18F/open-data-maker/issues/219","labels_url":"https://api.github.com/repos/18F/open-data-maker/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/18F/open-data-maker/issues/219/comments","events_url":"https://api.github.com/repos/18F/open-data-maker/issues/219/events","html_url":"https://github.com/18F/open-data-maker/issues/219","id":106756584,"number":219,"title":"NoMethodError: undefined method `each' for \"/home/vcap/app/app/stylesheets\":String","user":{"login":"dnesting","id":7342162,"avatar_url":"https://avatars.githubusercontent.com/u/7342162?v=3","gravatar_id":"","url":"https://api.github.com/users/dnesting","html_url":"https://github.com/dnesting","followers_url":"https://api.github.com/users/dnesting/followers","following_url":"https://api.github.com/users/dnesting/following{/other_user}","gists_url":"https://api.github.com/users/dnesting/gists{/gist_id}","starred_url":"https://api.github.com/users/dnesting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnesting/subscriptions","organizations_url":"https://api.github.com/users/dnesting/orgs","repos_url":"https://api.github.com/users/dnesting/repos","events_url":"https://api.github.com/users/dnesting/events{/privacy}","received_events_url":"https://api.github.com/users/dnesting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T11:46:39Z","updated_at":"2015-09-16T11:46:39Z","closed_at":null,"body":"```\r\nNoMethodError: undefined method `each' for \"/home/vcap/app/app/stylesheets\":String\r\n\r\n…uby/2.2.0/gems/sass-3.4.16/lib/sass/plugin/compiler.rb: 251:in `file_list'\r\n…uby/2.2.0/gems/sass-3.4.16/lib/sass/plugin/compiler.rb: 205:in `update_stylesheets'\r\n…/bundle/ruby/2.2.0/gems/sass-3.4.16/lib/sass/plugin.rb:  82:in `update_stylesheets'\r\n…/bundle/ruby/2.2.0/gems/sass-3.4.16/lib/sass/plugin.rb:  54:in `check_for_updates'\r\n…le/ruby/2.2.0/gems/sass-3.4.16/lib/sass/plugin/rack.rb:  51:in `call'\r\n…ack-protection-1.5.3/lib/rack/protection/xss_header.rb:  18:in `call'\r\n…rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:  18:in `call'\r\n…gems/rack-protection-1.5.3/lib/rack/protection/base.rb:  49:in `call'\r\n…gems/rack-protection-1.5.3/lib/rack/protection/base.rb:  49:in `call'\r\n…-protection-1.5.3/lib/rack/protection/frame_options.rb:  31:in `call'\r\n…dor/bundle/ruby/2.2.0/gems/rack-1.5.5/lib/rack/head.rb:  11:in `call'\r\n…/ruby/2.2.0/gems/rack-1.5.5/lib/rack/methodoverride.rb:  21:in `call'\r\n…ndle/ruby/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'\r\n…ndle/ruby/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `block in call'\r\n…ndle/ruby/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in `synchronize'\r\n…ndle/ruby/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `call'\r\n….0/gems/padrino-core-0.12.5/lib/padrino-core/router.rb:  84:in `block in call'\r\n….0/gems/padrino-core-0.12.5/lib/padrino-core/router.rb:  75:in `each'\r\n….0/gems/padrino-core-0.12.5/lib/padrino-core/router.rb:  75:in `call'\r\n…/ruby/2.2.0/gems/puma-2.13.4/lib/puma/configuration.rb:  78:in `call'\r\n…/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb: 541:in `handle_request'\r\n…/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb: 388:in `process_client'\r\n…/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb: 270:in `block in run'\r\n…le/ruby/2.2.0/gems/puma-2.13.4/lib/puma/thread_pool.rb: 106:in `call'\r\n…le/ruby/2.2.0/gems/puma-2.13.4/lib/puma/thread_pool.rb: 106:in `block in spawn_thread'\r\n```\r\n\r\nWe've only seen a single instance of this error.  I believe this is due to a multi-threading race condition and I've opined on sass/sass#1827 to address upstream.  If so, a workaround would be for us to use the array form of this in lib/sass_initializer.rb:\r\n\r\n```\r\n# Sass::Plugin.options[:template_location] = Padrino.root(\"app/stylesheets\")\r\nSass::Plugin.options[:template_location] = [\r\n    Padrino.root(\"app/stylesheets\"), Padrino.root(\"public/stylesheets\")]\r\n```\r\n"}}