GithubHelp home page GithubHelp logo

Comments (24)

metaskills avatar metaskills commented on May 16, 2024

Can you try v2.4.2 and let me know?

from less-rails.

ziemmowit avatar ziemmowit commented on May 16, 2024

I tried, but the nothing changed - the error code is the same.

2013/9/8 Ken Collins [email protected]

Can you try v2.4.2 and let me know?


Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-24012224
.

Pozdrawiam serdecznie,
Ziemowit Radogostowicz

e. mail: [email protected]
m. phone: + 48 (0) 792 383 098

from less-rails.

excid3 avatar excid3 commented on May 16, 2024

Same problem here with bootstrap_and_overrides.css.less as I upgraded the gem yesterday.

from less-rails.

nhapke avatar nhapke commented on May 16, 2024

Same problem here too.

from less-rails.

arashm avatar arashm commented on May 16, 2024

+1 for solving this. I've the same problem here.

from less-rails.

penchiang avatar penchiang commented on May 16, 2024

+1 for solving this. Should we try 2.3.3 for temp fix?

from less-rails.

gwoemul avatar gwoemul commented on May 16, 2024

downgrading to 2.3.3 works for me at the moment, but i guess there should be some sort of a permanent fix

from less-rails.

penchiang avatar penchiang commented on May 16, 2024

I just downgraded to 2.3.3 and it works for the time being. Also, this only happened recently when I upgrade the ruby to 2.0.0-p247.

from less-rails.

r3nya avatar r3nya commented on May 16, 2024

+1 … Some problem here too.

from less-rails.

mauriciomdea avatar mauriciomdea commented on May 16, 2024

+1 too

from less-rails.

sdesbure avatar sdesbure commented on May 16, 2024

+1 … Some problem here too. Downgrading to 2.3.3 solved it

from less-rails.

emorikawa avatar emorikawa commented on May 16, 2024

@metaskills I can verify the same problem.

from less-rails.

gregormelhorn avatar gregormelhorn commented on May 16, 2024

same here

from less-rails.

ioga avatar ioga commented on May 16, 2024

Same here.

from less-rails.

paulbaker3 avatar paulbaker3 commented on May 16, 2024

Same here

from less-rails.

morozovm avatar morozovm commented on May 16, 2024

same here

from less-rails.

tkawachi avatar tkawachi commented on May 16, 2024

same problem here

from less-rails.

hpyhacking avatar hpyhacking commented on May 16, 2024

+1

from less-rails.

ThomasBush avatar ThomasBush commented on May 16, 2024

It may also be worth noting that simply using less-rails 2.3.3 may not be the entire solution as in my case. I also need to use less 2.3.2 instead of 2.3.3 to remove this error.

from less-rails.

Loremaster avatar Loremaster commented on May 16, 2024

If you use "twitter-bootstrap-rails" then you should specify version:

gem 'twitter-bootstrap-rails', "~> 2.2.8"

After that update less-rails and run

rails g bootstrap:install -f

This helped me.

from less-rails.

s2t2 avatar s2t2 commented on May 16, 2024

@Loremaster thanks, that helped me as well.

from less-rails.

emorikawa avatar emorikawa commented on May 16, 2024

Found a fix. Either upgrade Twitter Bootstrap or manually replace the syntax change described below:

The upgrade introduced a backwards-incompatible change with everyone using Bootstrap's mixins.less file.

The problem is that when metaskills/less-rails upgraded from v2.3.3 to v2.4.0, it upgraded cowboyd/less.rb from v2.3.1 to v2.4.0, which upgraded less/less.js from v1.3.3 to v1.4.2, which introduced a backwards incompatible change in v1.4.0 beta, specifically the line that says:

(~"@var") selector interpolation is removed. Use @{var} in selectors to have variable selectors

There are a handful of places in Bootstrap's mixins.less file where that pattern shows up. You'll have to search for them manually. Also check out: http://stackoverflow.com/questions/19553367/less-unrecognized-input-error-when-using-bootstrap

from less-rails.

cassiopagnoncelli avatar cassiopagnoncelli commented on May 16, 2024

Thanks @Loremaster, you saved the day.

from less-rails.

simi avatar simi commented on May 16, 2024

@emorikawa thanks for the detailed description.

Anyway there's nothing we can fix in this gem :( Feel free to use older version of less-rails to get older less.js.

from less-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.