Re: F16 how to install "less" ruby gem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 22.2.2012 10:26, T.C. Hollingsworth napsal(a):
2012/2/22 Michał Piotrowski<mkkp4x4@xxxxxxxxx>:
I need lessc with --compress option to build bootstrap framework. I'm
not sure if "less" gem is appropriate for this task, but I wanted to
try it.
The canonical version of lessc is written for node.js.  Looks like the
ruby gem just runs that through some sort of node/v8 interpreter for
Ruby.  It's probably a lot easier just to run it through node itself.

I build node packages personally for now until I can whip it into
shape for Fedora (which will be F18 or Node v0.8, whichever comes
last.  I have patches for the 0.7 development branch almost ready to
send upstream :-):
http://nodejs.tchol.org/

Enable the repository, then just `yum install nodejs-compat-symlinks
npm` and `npm install -g less`.

(You can also rebuild the SRPMs if you don't trust me, but then you
still have the whole "building V8" problem. ;-)

-T.C.

Actually it would be nice if less could use execjs gem, which choose whatever JS engine is available on your platform. But unfortunately, less gem has hardcoded dependency for V8.


Vit
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux