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

Less is Broken #634

Closed
amacgregor opened this Issue Aug 13, 2011 · 11 comments

Comments

Projects
None yet
5 participants
@amacgregor

amacgregor commented Aug 13, 2011

I'm using ruby 1.9.2p180 and padrino 1.10.1 I generated my project to use haml and less, unfortunately I haven't been to get less working the server is throwing the following error when trying to generate the style sheet :

[2011-08-13 17:55:55] ERROR NoMethodError: undefined method each' for "#header, h2 { color: #4d926f; }":String C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.3.2/lib/rack/handler/webrick.rb:71:inservice'
C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:70:inrun'
C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Kind Regards

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena

nesquena Aug 15, 2011

Member

Hmm that is too bad, we will try to fix less compatibility in the next version

Member

nesquena commented Aug 15, 2011

Hmm that is too bad, we will try to fix less compatibility in the next version

@amacgregor

This comment has been minimized.

Show comment
Hide comment
@amacgregor

amacgregor Aug 15, 2011

Lol, working fine with ruby 1.8.7 so its probably a problem with the rack-less gem rather that with padrino :P

amacgregor commented Aug 15, 2011

Lol, working fine with ruby 1.8.7 so its probably a problem with the rack-less gem rather that with padrino :P

@amacgregor amacgregor closed this Aug 15, 2011

@amacgregor amacgregor reopened this Aug 15, 2011

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena

nesquena Aug 16, 2011

Member

Interesting, is there anything we can do then? I think our integration into less relies pretty heavily on that gem?

Member

nesquena commented Aug 16, 2011

Interesting, is there anything we can do then? I think our integration into less relies pretty heavily on that gem?

@icco

This comment has been minimized.

Show comment
Hide comment
@icco

icco Aug 21, 2011

Contributor

The less gem in general isn't maintained. I was having issues with it in another project and found it was way easier to just switch over to less.js instead of tring to patch the gem, which seemed to be needed to get it to work on 1.9.2.

Contributor

icco commented Aug 21, 2011

The less gem in general isn't maintained. I was having issues with it in another project and found it was way easier to just switch over to less.js instead of tring to patch the gem, which seemed to be needed to get it to work on 1.9.2.

@DAddYE

This comment has been minimized.

Show comment
Hide comment
@DAddYE

DAddYE Aug 23, 2011

Member

Im not certainly an less expert but what I know is that now is a pure js library, so maybe better use node.js or less.app.

@nesquena, @achiu what do you suggest? We need to drop builtin support?

Member

DAddYE commented Aug 23, 2011

Im not certainly an less expert but what I know is that now is a pure js library, so maybe better use node.js or less.app.

@nesquena, @achiu what do you suggest? We need to drop builtin support?

@icco

This comment has been minimized.

Show comment
Hide comment
@icco

icco Aug 23, 2011

Contributor

Actually, it looks like https://github.com/cowboyd/less.rb has picked up support of the ruby gem. So in theory we should figure out if it's a bug there or Padrino's use of the gem (and make sure @amacgregor has the most recent version, 2.0.5).

Contributor

icco commented Aug 23, 2011

Actually, it looks like https://github.com/cowboyd/less.rb has picked up support of the ruby gem. So in theory we should figure out if it's a bug there or Padrino's use of the gem (and make sure @amacgregor has the most recent version, 2.0.5).

@ghost ghost assigned achiu Aug 30, 2011

@DAddYE

This comment has been minimized.

Show comment
Hide comment
@DAddYE

DAddYE Aug 30, 2011

Member

@achiu can you check this issue?

Member

DAddYE commented Aug 30, 2011

@achiu can you check this issue?

@achiu

This comment has been minimized.

Show comment
Hide comment
@achiu

achiu Sep 1, 2011

Member

@DAddYE @amacgregor Yeah i'll take a look at this issue soon

Member

achiu commented Sep 1, 2011

@DAddYE @amacgregor Yeah i'll take a look at this issue soon

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena
Member

nesquena commented Sep 1, 2011

@achiu

This comment has been minimized.

Show comment
Hide comment
@achiu

achiu Sep 1, 2011

Member

@nesquena we are currently using that library to integrate less, which the newer version uses less.rb instead of the older less gem. Need to look into it further, but i'm thinking it might be the gem issue?

Member

achiu commented Sep 1, 2011

@nesquena we are currently using that library to integrate less, which the newer version uses less.rb instead of the older less gem. Need to look into it further, but i'm thinking it might be the gem issue?

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena

nesquena Sep 1, 2011

Member

Ah ok, good to know. Yeah looks like the rack-less gem specifies its own dependency anyways: http://rubygems.org/gems/rack-less so removing the less gem explicitly makes sense.

Member

nesquena commented Sep 1, 2011

Ah ok, good to know. Yeah looks like the rack-less gem specifies its own dependency anyways: http://rubygems.org/gems/rack-less so removing the less gem explicitly makes sense.

@DAddYE DAddYE closed this Sep 16, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment