title: Gulp.js TypeError: glob pattern string required
body: <p>I'm following <a href="https://www.digitalocean.com/community/tutorials/how-to-get-started-with-gulp-js-on-your-vps" rel="nofollow noreferrer">this tutorial</a> to set up gulp.js on Ubuntu. However, when I run <code>gulp styles</code> in the terminal I get the 'TypeError: glob pattern string required' error. I'm a complete gulp noob - could anyone point me in the right direction? </p>
  
  <p>My <code>gulpfile.js</code> file:</p>
  
  <pre><code>var gulp = require('gulp'),
      sass = require('gulp-ruby-sass'),
      autoprefixer = require('gulp-autoprefixer'),
      minifycss = require('gulp-minify-css'),
      rename = require('gulp-rename');
  
  gulp.task('styles', function() {
    return gulp.src('sass/*.scss')
      .pipe(sass({ style: 'expanded' }))
      .pipe(autoprefixer('last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1'))
      .pipe(gulp.dest('css'))
      .pipe(rename({suffix: '.min'}))
      .pipe(minifycss())
      .pipe(gulp.dest('css'));
  });
  </code></pre>
  
  <p>My file directory:</p>
  
  <p><a href="https://i.stack.imgur.com/oE9Bb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oE9Bb.png" alt="file pathing"></a></p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I tried this in my <code>gulp.js</code> file:</p>
  
  <pre><code>gulp.task('styles', function () {
      return sass('sass/*.scss', {
        style: 'expanded'
      })
      .pipe(autoprefixer('last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1'))
      .pipe(gulp.dest('css'))
      .pipe(rename({suffix: '.min'}))
      .pipe(minifycss())
      .pipe(gulp.dest('css'));
  });
  </code></pre>
  
  <p>and received this error output:</p>
  
  <p><a href="https://i.stack.imgur.com/IhcYV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IhcYV.png" alt="enter image description here"></a></p>
  
  <p>Is my syntax wrong?</p>