rails / sass-rails

Ruby on Rails stylesheet engine for Sass
MIT License
859 stars 333 forks source link

require 'bootstrap-sass' throws sass-rails error #177

Closed rubytastic closed 10 years ago

rubytastic commented 10 years ago

require 'bootstrap-sass' throws an: (after recent update, I tried using older gem versions to no avail ) This is inside bundler ( middleman gem ) not using rails itself in the Gemfile.

/Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-rails-3.2.5/lib/sass/rails/helpers.rb:32:in resolver': undefined method[]' for nil:NilClass (NoMethodError) from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-rails-3.2.5/lib/sass/rails/helpers.rb:25:in font_url' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/script/funcall.rb:112:in_perform' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/script/node.rb:40:in perform' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:298:invisit_prop' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in block in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:inmap' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:inblock in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:in with_environment' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:invisit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in block in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:356:invisit_directive' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in block in visit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:inmap' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in visit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:inblock in visit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in map' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:invisit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in block in visit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:inmap' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in visit_import' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:inblock in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in map' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:invisit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:in block in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:inwith_environment' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:in visit_children' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:inblock in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:128:in visit_root' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in visit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:7:invisit' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/tree/root_node.rb:20:in render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/engine.rb:315:in_render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/sass-3.2.12/lib/sass/engine.rb:262:in render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/renderers/sass.rb:66:inevaluate' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/tilt-1.3.7/lib/tilt/template.rb:77:in render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/rendering.rb:280:inrender_individual_file' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/rendering.rb:157:in render_template' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/sitemap/resource.rb:149:inblock in render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in instrument' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/util.rb:63:ininstrument' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/application.rb:196:in instrument' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/sitemap/resource.rb:16:ininstrument' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/sitemap/resource.rb:120:in render' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:254:inprocess_request' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:204:in block in call!' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:203:incatch' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:203:in call!' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/core_extensions/request.rb:189:incall' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/builder.rb:134:in call' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/urlmap.rb:64:inblock in call' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in each' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/urlmap.rb:49:incall' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/head.rb:9:in call' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/lint.rb:48:in_call' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/lint.rb:36:in call' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-1.4.5/lib/rack/builder.rb:134:incall' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in request' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-test-0.6.2/lib/rack/test.rb:230:inprocess_request' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/rack-test-0.6.2/lib/rack/test.rb:57:in get' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli/build.rb:179:inblock in execute!' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli/build.rb:178:in each' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli/build.rb:178:inexecute!' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli/build.rb:124:in invoke!' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/actions.rb:95:inaction' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli/build.rb:66:in build' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/command.rb:27:inrun' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/invocation.rb:120:in invoke_command' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor.rb:363:indispatch' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/base.rb:439:in start' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli.rb:77:inmethod_missing' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/command.rb:29:in run' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/command.rb:128:inrun' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/invocation.rb:120:in invoke_command' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor.rb:363:indispatch' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/thor-0.18.1/lib/thor/base.rb:439:in start' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/lib/middleman-core/cli.rb:22:instart' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/gems/middleman-core-3.2.0/bin/middleman:18:in <top (required)>' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/bin/middleman:23:inload' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/bin/middleman:23:in <main>' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/bin/ruby_executable_hooks:15:ineval' from /Users/Jordan/.rvm/gems/ruby-2.0.0-p353@me/bin/ruby_executable_hooks:15:in `

'

rafaelfranca commented 10 years ago

The version 3 is not supported anymore.