Comments (24)
Can you try v2.4.2 and let me know?
from less-rails.
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.
Same problem here with bootstrap_and_overrides.css.less
as I upgraded the gem yesterday.
from less-rails.
Same problem here too.
from less-rails.
+1 for solving this. I've the same problem here.
from less-rails.
+1 for solving this. Should we try 2.3.3 for temp fix?
from less-rails.
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.
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.
+1 … Some problem here too.
from less-rails.
+1 too
from less-rails.
+1 … Some problem here too. Downgrading to 2.3.3 solved it
from less-rails.
@metaskills I can verify the same problem.
from less-rails.
same here
from less-rails.
Same here.
from less-rails.
Same here
from less-rails.
same here
from less-rails.
same problem here
from less-rails.
+1
from less-rails.
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.
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.
@Loremaster thanks, that helped me as well.
from less-rails.
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.
Thanks @Loremaster, you saved the day.
from less-rails.
@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)
- release 2.8.0 to rubygems HOT 8
- Tests for Ruby 2.2+ and suppport for NOT using therubyracer HOT 4
- @import remote file fails with (less) option HOT 1
- Is therubyracer needed to be installed with less-rails? HOT 1
- N/A
- less-rails doesn't load with Ruby 2.4.0 HOT 6
- Doesn't work with sprockets 4 beta HOT 3
- Could we use other javascript runtime(e.g. mini_racer)? HOT 2
- Sprockets 3 compatibility HOT 1
- Silence warnings HOT 1
- less-rails 3.0.0 in Rails 4 project causing Asset logical path has no extension error on asset compilation HOT 4
- Uplifting from 2.8 to 3.0 causes issues with precompiling. HOT 2
- error evaluating function `data-uri`: Optional dependency "mime" is required for .svg HOT 1
- Version 2.8.0 is showing deprecation warning from register_engine HOT 2
- rails s command issue HOT 2
- less-rails initializer causes load_config_initializers to run too early, before other gem initilizers HOT 1
- less-rails not working with Rails 6 - undefined method `pathname' HOT 13
- less-rails 5.0 require sprocket 3 HOT 1
- Any way to remove/avoid therubyracer? HOT 2
- heroku deploy failing with therubyracer dependency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from less-rails.