title: Geb test ignoring GebConfig.groovy file launched in IntelliJ
body: <p>Running in IntelliJ IDEA.
  GebConfig.groovy is in <code>/src/test/resources</code>.</p>
  
  <p>I am using the Chrome driver.</p>
  
  <p>When I type 
  <code>System.setProperty("webdriver.chrome.driver", "my/path")</code> 
  inside my spec file, and I right click and select run, the test works, meaning it opens Chrome and loads the page.</p>
  
  <p>When I don't do that in the spec file, but just leave it in the GebConfig.groovy file, I get the error message "the page to the driver executable must be set".</p>
  
  <p>There's an air-gap, so I can't copy-paste; I'll type as much as I can here:
  GebConfig.groovy:</p>
  
  <pre><code>import org.openqa.selenium.chrome.ChromeDriver
  
  ...
  
  environments {
      chrome {
          System.setProperty("webdriver.chrome.driver", "my/path")
          driver = {new ChromeDriver()}
      }
  }
  </code></pre>
  
  <p>The spec file is really simple, like the example on GitHub</p>
  
  <pre><code>import LoginPage
  import geb.spock.GebReportSpec
  
  class LoginSpec extends GebReportSpec
  {
  
      // Works when I put this here, but I should not have to do this!
      System.setProperty("webdriver.chrome.driver", "my/path")
  
       def "user can log in" () {
          when: "log in as me"
              def loginPage = to LoginPage
              loginPage.login("me")
          then: 
            ....
       }
   }
  </code></pre>