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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is :paths option ignored? #80

Open
jodosha opened this issue Mar 18, 2016 · 0 comments
Open

Is :paths option ignored? #80

jodosha opened this issue Mar 18, 2016 · 0 comments

Comments

@jodosha
Copy link

jodosha commented Mar 18, 2016

Hi all 馃槃

Hanami supports Less for assets management. It happens via Tilt.
We received a bug report by @ismaild which seems to be caused by Less. I'm not sure about this, that's why I'm involving you folks.


He is trying to compile a .less file which references a variable defined into another file. It fails to do so via Hanami and via lessrc as well.

The rendering context seems to be scoped to the file itself. I expected Less to take account of all the files of a project. Hence I suspect that :paths option is ignored.

Me and @ismaild are using MRI 2.3.0 with:

  • less (2.6.0)
  • commonjs (0.2.7)
  • therubyracer (0.12.2)
  • libv8 (3.16.14.13)

Thanks in advance for you help. 馃槃

jodosha added a commit to hanami/assets that referenced this issue Mar 26, 2016
We can't provide a unit test for this change because Less has a bug:

  cowboyd/less.rb#80
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