Ruby for Windows

I doubt it, Python and NodeJS are listed too and I know I installed them around 15 months ago. I probably did Rails around the same time.

1 Like

but I have it installed…

Is Ruby currently installed/in the path?

yeah supposedly…

What does ruby -v produce from the command line?
(not GitBash)

And sass -v ?

Looks good :slight_smile:

So where are you having trouble?

so my .scss file wont update when I try to change it like its suppose too. For some
reason it works for my .css file but not the .scss and so basically the automation is not working…

That’s all a bit vague. If you can provide more concise instructions on how I can reproduce your problem, I don’t mind checking if it works for me.

so When I update my .scss it does not update the page

No idea what I’m looking at. Sorry.

ok so when running sass I should be able to update my .scss right and it should
auto load the web browser when a change is made, but mine is not.

im assuming it is because of this error:

and I tried reinstalling everything several time but no luck…

shouldn’t you be running that from the Windows command prompt?

Also, what’s in your gulpfile?

var gulp = require('gulp'),
    jshint = require('gulp-jshint'),
    sass = require('gulp-ruby-sass'),
    sourcemaps = require('gulp-sourcemaps'),
    webserver = require('gulp-webserver');

gulp.task('js', function() {
  return gulp.src('builds/sassEssentials/js/myscript.js')
    .pipe(jshint('./.jshintrc'))
    .pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('sass', function () {
    return sass('process/sass/style.scss', {
      sourcemap: true,
      style: 'compressed'
    })
    .on('error', function (err) {
        console.error('Error!', err.message);
    })
    .pipe(sourcemaps.write())
    .pipe(gulp.dest('builds/sassEssentials/css'));
});

gulp.task('watch', function() {
  gulp.watch('builds/sassEssentials/js/**/*', ['js']);
  gulp.watch(['process/sass/**/*'], ['sass']);
});

gulp.task('webserver', function() {
    gulp.src('builds/sassEssentials/')
        .pipe(webserver({
            livereload: true,
            open: true
        }));
});

gulp.task('default', ['sass', 'watch', 'webserver']);

For example if update ‘compressed’ to ‘expanded’ it does not update…

why not gitbash? isnt it the same thing?

Not really.

using the regular cmd prompt wont let me though