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

Undefined variable: "$icon-font-name" #76

Open
mylesmegyesi opened this issue Sep 12, 2013 · 0 comments
Open

Undefined variable: "$icon-font-name" #76

mylesmegyesi opened this issue Sep 12, 2013 · 0 comments

Comments

@mylesmegyesi
Copy link

When I try to precompile assets, I get this error.

% RAILS_GROUPS=assets RAILS_ENV=development be rake assets:precompile
rake aborted!
Undefined variable: "$icon-font-name".
  (in /home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/anjlab-bootstrap-rails-3.0.0.2/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss:15)
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/anjlab-bootstrap-rails-3.0.0.2/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss:15
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/variable.rb:49:in `_perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/node.rb:40:in `perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/string_interpolation.rb:82:in `_perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/node.rb:40:in `perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/string_interpolation.rb:84:in `_perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/node.rb:40:in `perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/funcall.rb:99:in `block in _perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/funcall.rb:99:in `map'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/funcall.rb:99:in `_perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/script/node.rb:40:in `perform'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:298:in `visit_prop'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:37:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:100:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `map'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:356:in `visit_directive'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:37:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:100:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `map'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/base.rb:37:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:100:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/visitors/perform.rb:7:in `visit'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/tree/root_node.rb:20:in `render'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/engine.rb:315:in `_render'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sass-3.2.10/lib/sass/engine.rb:262:in `render'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/bundler/gems/compass-rails-1749c06f15dc/lib/compass-rails/patches/static_compiler.rb:23:in `evaluate'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/context.rb:197:in `block in evaluate'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/context.rb:194:in `each'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/context.rb:194:in `evaluate'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/processed_asset.rb:12:in `initialize'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:374:in `new'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:374:in `block in build_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:395:in `circular_call_protection'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:373:in `build_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/index.rb:94:in `block in build_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/caching.rb:58:in `cache_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/index.rb:93:in `build_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:287:in `find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/index.rb:61:in `find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/bundled_asset.rb:37:in `init_with'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/asset.rb:24:in `from_hash'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/caching.rb:54:in `cache_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/index.rb:93:in `build_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/base.rb:287:in `find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/index.rb:61:in `find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:211:in `block in find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:257:in `benchmark'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:210:in `find_asset'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:119:in `block in compile'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:118:in `each'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/sprockets/manifest.rb:118:in `compile'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:60:in `block (3 levels) in define'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-2.10.0/lib/rake/sprocketstask.rb:146:in `with_logger'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:59:in `block (2 levels) in define'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `eval'
/home/vagrant/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => assets:precompile

I was able to fix it on a fork.

https://github.com/mylesmegyesi/bootstrap-rails/commit/ef7835428a23924eb097cab64afc52d5eb6c2f09

However, my fix seems like more of a bandaid that a true fix.

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

1 participant