title: Error: ReferenceError: System is not defined
body: <p>I am trying to configure gulp to launch Protractor (and webdriver) and I get the "[launcher] Error: ReferenceError: System is not defined" . I previously set Karma to recognize System but I have no idea how to do same thing for Protractor.</p>
  
  <p>Here is my protractor.conf.js</p>
  
  <pre><code>exports.config = {
    framework: 'jasmine',
    specs: ['./dist/**/*e2e.js'],
  //    seleniumAddress: 'http://127.0.0.1:4444/wd/hub',
     seleniumServerJar: './node_modules/selenium-standalone-jar/bin/selenium-server-standalone-2.45.0.jar'
  //   seleniumServerJar: './node_modules/selenium/selenium-standalone-jar/bin/selenium-server-standalone-2.48.2.jar'
  }
  </code></pre>
  
  <p>my gulp task (gulpfile.js):</p>
  
  <pre><code>gulp.task('e2e', function(callback) {
      gulp
          .src(['./dist/**/*e2e.js'])
          .pipe(angularProtractor({
              'configFile': 'protractor.conf.js',
              'debug': true,
              'autoStartStopServer': true
          }))
          .on('error', function(e) {
              console.log(e);
          })
          .on('end', callback);
  });
  </code></pre>
  
  <p>and protractor related (package.json)</p>
  
  <pre><code>"gulp-protractor": "^2.1.0",
  "protractor": "2.5.1",
  "selenium-standalone-jar": "2.45.0",
  </code></pre>
  
  <p>Any suggestion highly appreciated! </p>