metaskills / less-rails

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

Any way to remove/avoid therubyracer? #158

Closed mikkelwf closed 3 years ago

mikkelwf commented 3 years ago

Hi

I'm currently working on an old project for a client, based on rails 5.2. The main layout uses an old version of bootstrap, based on less, and its almost impossible to remove it or rewrite it to scss without mayor work.

I want to transition all my projects to docker containers and hopefully move all my work to arm (apple M1), but as far as what i've read (and tried so far) therubyracer does NOT work on anything else than x86.

Are there no legit alternatives to therubyracer? And why is this project relying on such an ancient and deprecated version of v8 in the first place?

metaskills commented 3 years ago

Hey @mikkelwf, our dependency is on less.rb, which has deps on commonjs (links below). We could care less how they are implemented. This gem aims to help with those gems integrating into Rails.

why is this project relying on such an ancient and deprecated version of v8 in the first place?

Because the projects below ours are.

mikkelwf commented 3 years ago

Thanks for the clarification. I'll try to remove less from the project, seems the most feasible way to solve my issue..