Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a gulp project on another machine

Tags:

sass

gulp

I have gulp set up and working fine on one machine. I have copied the directory to another machine which includes the package.json file that includes all the project dependencies.

Each time I run 'gulp' on the new machine it runs through the task but always finishes with

Error: Gem sass is not installed.

I have run sudo npm install to install dependencies from the the package.json and even tried to run npm install --save-dev gulp-ruby-sass

ANy ideas? thanks

like image 524
Pete Norris Avatar asked Apr 27 '15 14:04

Pete Norris


People also ask

How do I run an existing gulp project?

To run gulp you have to navigate to your project root using your command line and simply enter gulp and exectute it. gulp automatically detects the gulpfile. js in your project root and executes everything that is described there.

Is gulp discontinued?

gulp has been officially discontinued upstream.

How do I run a gulp file?

in the Before launch area and choose Run Gulp task from the list. In the Gulp task dialog that opens, specify the Gulpfile. js where the required task is defined, select the task to execute, and specify the arguments to pass to the Gulp tool. Specify the location of the Node.

Is gulp a server?

The task runner Gulp. js is getting more and more popular lately. It can be used for many things, like concatenating JavaScript files or minifying images.


1 Answers

It looks like your project uses the ruby gem sass, which means you need to run the following on each machine:

[sudo] gem install sass

For a bit more info, SASS started as a ruby gem but libSass allows users to run SASS using other languages.

like image 72
mcranston18 Avatar answered Sep 29 '22 03:09

mcranston18