metaskills / less-rails

:-1: :train: Less.js For Rails
http://github.com/metaskills/less-rails
MIT License
340 stars 133 forks source link

Sprockets compatibility. Fix `env` undefined. #123

Open manzhikov opened 8 years ago

manzhikov commented 8 years ago

Fix problem: /Users/ildar/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:195:inmethod_missing': undefined local variable or method env' for Less::Rails::Railtie:Class Did you mean? Nenv (NameError) from /Users/ildar/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/less-rails-063a189f83d4/lib/less/rails/railtie.rb:20:inblock in '`