0

We use Visual Studio 2013 for our development and we need to have .sass files to be compiled to CSS (and do the same as part of build/CI). We are exploring options with Grunt/Gulp.

In the following Urls, there is a mention that we need ruby installed on the machine in order to have Sass (monitor and) compilation using Grunt:

In the following urls, there is no mention of ruby to achieve the same task:

What is Ruby, and how is that related (if so) to Sass compilation using grunt? Can we not achieve the task without Ruby? If so, advantages/disadvantages.

Community
  • 1
  • 1
user203687
  • 6,875
  • 12
  • 53
  • 85
  • Ruby is just another language that Sass uses to compile. It's kind of like how Grunt uses JavaScript/Node.js to run. – aug Jul 21 '15 at 19:35
  • The #1 result if you google "ruby" is the wikipedia page for the Ruby programming language, how did you manage to miss it when you were doing your research? – cimmanon Jul 21 '15 at 20:12
  • I may not be so clear in my question here. But, I just wanted to know the relation between Ruby programming language, Sass and Grunt. I am just wondering on why you are focusing narrow/just on "What is Ruby". That is not what I meant in title/description. – user203687 Jul 21 '15 at 22:11
  • FYI, Ruby is not needed anymore as Sass was rewritten in Dart and there is Javascript port available, install it with npm: `npm install -g sass` (or `--save-dev` if you don't like globals) – Silviu Burcea May 20 '20 at 11:04

1 Answers1

0

Ruby is a programming language; Sass is written is Ruby. So you must have Ruby in order to install and use Sass. You could get away with using Sass without Ruby if you were to use something like http://libsass.org/ (a C implementation of Sass). libsass should be more performant but for a beginner you may want to just stick with regular Sass because the setup is easier.

Those two links don't mention Ruby specifically because they assume you already have Sass setup. They are only explaining how to setup Grunt.