{"action":"created","issue":{"url":"https://api.github.com/repos/alchapone/polymer-rails/issues/60","labels_url":"https://api.github.com/repos/alchapone/polymer-rails/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/alchapone/polymer-rails/issues/60/comments","events_url":"https://api.github.com/repos/alchapone/polymer-rails/issues/60/events","html_url":"https://github.com/alchapone/polymer-rails/issues/60","id":106024031,"number":60,"title":"undefined method `context_class` with new versions of sass/sprockets","user":{"login":"Frexuz","id":49692,"avatar_url":"https://avatars.githubusercontent.com/u/49692?v=3","gravatar_id":"","url":"https://api.github.com/users/Frexuz","html_url":"https://github.com/Frexuz","followers_url":"https://api.github.com/users/Frexuz/followers","following_url":"https://api.github.com/users/Frexuz/following{/other_user}","gists_url":"https://api.github.com/users/Frexuz/gists{/gist_id}","starred_url":"https://api.github.com/users/Frexuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frexuz/subscriptions","organizations_url":"https://api.github.com/users/Frexuz/orgs","repos_url":"https://api.github.com/users/Frexuz/repos","events_url":"https://api.github.com/users/Frexuz/events{/privacy}","received_events_url":"https://api.github.com/users/Frexuz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-11T14:41:56Z","updated_at":"2015-11-01T21:05:01Z","closed_at":null,"body":"Error\r\n```\r\n/home/frexuz/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/polymer-rails-1.1.0/lib/polymer-rails/\r\nrailtie.rb:7:in `block in <class:Railtie>': undefined method `context_class' for nil:NilClass (NoMethodError)\r\n```\r\n\r\nGemfile\r\n```\r\nsource 'http://rubygems.org'\r\nsource 'http://gems.github.com/'\r\n\r\ngem 'rails', '4.2.4'\r\ngem 'polymer-rails'\r\n\r\n#truncated...\r\n\r\ngroup :assets do\r\n  gem 'sass', '3.4.18'\r\n  gem 'sass-rails', '~> 5.0.4'\r\n  gem 'sprockets', '3.3.4'\r\n  gem 'sprockets-rails', '3.0.0.beta2', :require => 'sprockets/railtie'\r\nend\r\n```\r\n\r\nWhat's going on? :/"},"comment":{"url":"https://api.github.com/repos/alchapone/polymer-rails/issues/comments/152863843","html_url":"https://github.com/alchapone/polymer-rails/issues/60#issuecomment-152863843","issue_url":"https://api.github.com/repos/alchapone/polymer-rails/issues/60","id":152863843,"user":{"login":"Frexuz","id":49692,"avatar_url":"https://avatars.githubusercontent.com/u/49692?v=3","gravatar_id":"","url":"https://api.github.com/users/Frexuz","html_url":"https://github.com/Frexuz","followers_url":"https://api.github.com/users/Frexuz/followers","following_url":"https://api.github.com/users/Frexuz/following{/other_user}","gists_url":"https://api.github.com/users/Frexuz/gists{/gist_id}","starred_url":"https://api.github.com/users/Frexuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frexuz/subscriptions","organizations_url":"https://api.github.com/users/Frexuz/orgs","repos_url":"https://api.github.com/users/Frexuz/repos","events_url":"https://api.github.com/users/Frexuz/events{/privacy}","received_events_url":"https://api.github.com/users/Frexuz/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T21:05:01Z","updated_at":"2015-11-01T21:05:01Z","body":"Not sure how I'm supposed to debug further. I added `config.assets.enabled = true` in application.rb.\r\n\r\ninitializers/assets.rb\r\n```\r\n# Version of your assets, change this if you want to expire all your assets.\r\nRails.application.config.assets.version = '1.0'\r\n```\r\n\r\ndevelopment.rb\r\n```\r\nRails.application.configure do\r\n\r\n  # Settings specified here will take precedence over those in config/application.rb\r\n\r\n  # In the development environment your application's code is reloaded on\r\n  # every request.  This slows down response time but is perfect for development\r\n  # since you don't have to restart the web server when you make code changes.\r\n  config.cache_classes = false\r\n\r\n  # Eager load code on boot. This eager loads most of Rails and\r\n  # your application in memory, allowing both threaded web servers\r\n  # and those relying on copy on write to perform better.\r\n  # Rake tasks automatically ignore this option for performance.\r\n  config.eager_load = false\r\n\r\n  # Show full error reports and disable caching\r\n  config.consider_all_requests_local       = true\r\n  config.action_controller.perform_caching = false\r\n\r\n  #Cache testing\r\n  config.action_controller.perform_caching = true\r\n  # config.cache_store = :dalli_store, { :namespace => \"episodecalendar\", :expires_in => 7.day, :compress => true, :keepalive => true }\r\n\r\n  # Don't care if the mailer can't send\r\n  config.action_mailer.raise_delivery_errors = false\r\n\r\n  # Print deprecation notices to the Rails logger\r\n  config.active_support.deprecation = :log\r\n\r\n  # Raise an error on page load if there are pending migrations.\r\n  config.active_record.migration_error = :page_load\r\n\r\n  # Expands the lines which load the assets\r\n  config.assets.debug = false\r\n\r\n  # Mailer options\r\n  config.action_mailer.default_url_options = { :host => \"localhost\" }\r\n\r\n  # Sass\r\n  # config.sass.cache = false\r\n\r\n  # Adds additional error checking when serving assets at runtime.\r\n  # Checks for improperly declared sprockets dependencies.\r\n  # Raises helpful error messages.\r\n  config.assets.raise_runtime_errors = true\r\n\r\n  # Raises error for missing translations\r\n  config.action_view.raise_on_missing_translations = true\r\n\r\n  # Middlewares\r\n  # config.middleware.insert_after ActionDispatch::Static, Rack::LiveReload\r\n\r\nend\r\n```\r\n\r\nenvironment.rb\r\n```\r\n# Load the rails application\r\nrequire File.expand_path('../application', __FILE__)\r\n\r\n# Initialize the rails application\r\nRails.application.initialize!\r\n```\r\n\r\napplication.rb\r\n```\r\nrequire File.expand_path('../boot', __FILE__)\r\n\r\nrequire 'rails/all'\r\n#require 'sprockets/railtie'\r\nrequire 'csv'\r\n\r\nBundler.require(:default, Rails.env)\r\n\r\nmodule Episodecalendar2\r\n  class Application < Rails::Application\r\n\r\n    # Custom directories with classes and modules you want to be autoloadable.\r\n    config.autoload_paths += %W(#{Rails.root}/app/sweepers #{Rails.root}/lib)\r\n    config.autoload_paths += Dir[ Rails.root.join('app', 'concerns', '**/') ]\r\n\r\n    # Configure the default encoding used in templates for Ruby 1.9.\r\n    config.encoding = \"utf-8\"\r\n\r\n    # I18n\r\n    config.i18n.available_locales = ['en', 'br', 'de', 'es', 'fr', 'it', 'pl', 'pt', 'tr']\r\n    config.i18n.fallbacks = true\r\n    config.i18n.fallbacks = { 'br': 'pt_BR' }\r\n\r\n    # Configure sensitive parameters which will be filtered from the log file.\r\n    config.filter_parameters += [:password]\r\n\r\n    # Version of your assets, change this if you want to expire all your assets\r\n    config.assets.version = '1.0'\r\n\r\n    #Devise mailer layout\r\n    config.to_prepare do\r\n      Devise::Mailer.layout \"email\"\r\n    end\r\n\r\n    #Compass\r\n    # config.compass.require \"susy\"\r\n    config.assets.enabled = true\r\n\r\n    config.active_record.raise_in_transactional_callbacks = true\r\n  end\r\nend\r\n```\r\n\r\ngemfile (removed anything not related to assets, and the gemfile.lock, and ran `bundle install` again)\r\n```\r\nsource 'http://rubygems.org'\r\nsource 'http://gems.github.com/'\r\n\r\n#Main\r\ngem 'rails', '4.2.3'\r\ngem 'therubyracer', require: 'v8'\r\ngem 'jquery_mobile_rails'\r\ngem 'polymer-rails'\r\n\r\ngroup :assets do\r\n  gem 'sass', '3.4.19'\r\n  gem 'sass-rails', '5.0.4'\r\n  gem 'sprockets', '3.4.0'\r\n  gem 'sprockets-rails', '3.0.0.beta2', :require => 'sprockets/railtie'\r\n  gem 'uglifier', '>= 1.3.0'\r\nend\r\n```\r\n\r\nHave i missed something in the configurations?"}}