{"action":"reopened","issue":{"url":"https://api.github.com/repos/rails/sprockets-rails/issues/324","repository_url":"https://api.github.com/repos/rails/sprockets-rails","labels_url":"https://api.github.com/repos/rails/sprockets-rails/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/rails/sprockets-rails/issues/324/comments","events_url":"https://api.github.com/repos/rails/sprockets-rails/issues/324/events","html_url":"https://github.com/rails/sprockets-rails/issues/324","id":131045716,"number":324,"title":"Upgrading from 2.3.3 to 3.0.1 breaks stylesheet @import","user":{"login":"johnlane","id":1786613,"avatar_url":"https://avatars.githubusercontent.com/u/1786613?v=3","gravatar_id":"","url":"https://api.github.com/users/johnlane","html_url":"https://github.com/johnlane","followers_url":"https://api.github.com/users/johnlane/followers","following_url":"https://api.github.com/users/johnlane/following{/other_user}","gists_url":"https://api.github.com/users/johnlane/gists{/gist_id}","starred_url":"https://api.github.com/users/johnlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnlane/subscriptions","organizations_url":"https://api.github.com/users/johnlane/orgs","repos_url":"https://api.github.com/users/johnlane/repos","events_url":"https://api.github.com/users/johnlane/events{/privacy}","received_events_url":"https://api.github.com/users/johnlane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-03T14:43:08Z","updated_at":"2016-02-04T23:54:55Z","closed_at":null,"body":"Having just updated an app from Rails 4.2.4 to 4.2.5.1, one of my SASS stylesheets has stoped working, reporting an \"undefined variable\". \r\n\r\nThe variable in question is defined by the import of another file that happens before it, by my `application.scss` which is along these lines:\r\n\r\n    @import \"bootstrap\";\r\n    @import \"bootstrap-social\";\r\n\r\nwhere the latter file references a varable defined by the former. The latter file is an underscore-prefixed file `_bootstrap-social.scss`.\r\n\r\nPrior to the update, everything worked. I resolved the issue by specifically reqesting `gem 'sprockets-rails', '2.3.3'` in my `Gemfile`. Without that specificity I get version 3.0.1 of `sprockets-rails`and the aforementioned undefined variable issue.\r\n\r\nI can make it work with 3.0.1 by adding `@import 'bootstrap` to the head of `_boootstrap-social.scss` but this shouldn't be necessary (and isn't wth 2.3.3)."}}