Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify sprockets 2.11.0 #24

Merged
merged 1 commit into from Mar 20, 2014
Merged

specify sprockets 2.11.0 #24

merged 1 commit into from Mar 20, 2014

Conversation

ghost
Copy link

@ghost ghost commented Mar 17, 2014

As of sprockets 2.12.0 there seems to be some incompatibility with *.scss files. Possibly an incompatibility with bootstrap-sass, or sass-rails, or maybe just the asset pipeline in general. It produces a stack dump instead of rendering the page when executing the stylesheet_link_tag function.

Locking sprockets down to 2.11.0 seems to fix it. I have tested this as of Chapter 4 of the book.

Discovered through the "Google algorithm" and finding the relevant SO post: http://stackoverflow.com/questions/22391116/nomethoderror-in-pageshome-undefined-method-environment-for-nilnilclass

As of sprockets 2.12.0 there seems to be some incompatibility with *.scss files. Possibly an incompatibility with bootstrap-sass, or sass-rails, or maybe just the asset pipeline in general. It produces a stack dump instead of rendering the page when executing the stylesheet_link_tag function. 

Locking sprockets down to 2.11.0 seems to fix it.
@ghost
Copy link
Author

ghost commented Mar 17, 2014

See issue in sprockets here sstephenson/sprockets#540

mhartl added a commit that referenced this pull request Mar 20, 2014
specify sprockets 2.11.0
@mhartl mhartl merged commit d1c3155 into railstutorial:master Mar 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants