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

NameError: uninitialized constant Sass::Deprecation error with Sass v3.4.25 #69

Closed
meowsus opened this issue Jul 10, 2017 · 2 comments
Closed

Comments

@meowsus
Copy link

meowsus commented Jul 10, 2017

Sass v3.4.25 was just released on the 7th, causing sassc-ruby to throw this error:

NameError: uninitialized constant Sass::Deprecation
/home/meowsus/Work/engine/core/lib/engine/core.rb:42:in `require'
/home/meowsus/Work/engine/core/lib/engine/core.rb:42:in `<top (required)>'
/home/meowsus/Work/app/config/application.rb:20:in `require'
/home/meowsus/Work/app/config/application.rb:20:in `<top (required)>'
/home/meowsus/Work/app/Rakefile:4:in `require_relative'
/home/meowsus/Work/app/Rakefile:4:in `<top (required)>'
/home/meowsus/.rbenv/versions/2.4.1/bin/bundle:22:in `load'
/home/meowsus/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'
(See full trace by running task with --trace)
/home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/script/value/string.rb:5:in `<class:String>': uninitialized constant Sass::Deprecation (NameError)
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/script/value/string.rb:4:in `<module:Value>'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/script/value/string.rb:2:in `<top (required)>'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sassc-1.11.2/lib/sassc/script.rb:32:in `require'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sassc-1.11.2/lib/sassc/script.rb:32:in `<top (required)>'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sassc-1.11.2/lib/sassc.rb:8:in `require_relative'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sassc-1.11.2/lib/sassc.rb:8:in `<top (required)>'
        from /home/meowsus/Work/engine/core/lib/engine/core.rb:42:in `require'
        from /home/meowsus/Work/engine/core/lib/engine/core.rb:42:in `<top (required)>'
        from /home/meowsus/Work/app/config/application.rb:20:in `require'
        from /home/meowsus/Work/app/config/application.rb:20:in `<top (required)>'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:88:in `require'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:88:in `block in server'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:85:in `tap'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:85:in `server'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
        from /home/meowsus/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.0.4/lib/rails/commands.rb:18:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'

For reference:

Sass: sass/sass#2338
Sassc: sass/sassc#212

meowsus pushed a commit to meowsus/sassc-ruby that referenced this issue Jul 10, 2017
Due to a change in `v3.4.25` of the `sass` gem, this project began
throwing an unitialized constant NameError. Explicitly requiring
`sass/deprecation` solves the issue.

Resolves sass#69
@meowsus
Copy link
Author

meowsus commented Jul 12, 2017

This is also resolved by #68 which seems to have more activity around it.

@bolandrm
Copy link
Member

Resolved in #68

Please try out 1.11.4 and let me know if there are any issues.

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

No branches or pull requests

2 participants