title: Geb Configuration Issue with GebConfig.groovy and Groovy ConfigSlurper
body: <p>I am trying to get the Groovy based browser automation / testing framework up and running and I am having an issue getting the ConfigSlurper based config working.  </p>
  
  <p>I have a GebConfig.groovy class in my default package as follows:</p>
  
  <pre><code>import org.openqa.selenium.firefox.FirefoxDriver
  
  // default is to use firefox
  driver = { new FirefoxDriver() }
  
  //set the report output directory
  reportsDir = "reports/"
  </code></pre>
  
  <p>But trying to run a script causes the following error:</p>
  
  <pre><code>Caused by: groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigSlurper.parse() is applicable for argument types: (script135050580006143429828, java.net.URL) values: [script135050580006143429828@21f11507, file:/Users/alex/Documents/workspace/gebTest/src/main/java/GebConfig.groovy]
  Possible solutions: parse(java.net.URL), parse(groovy.lang.Script, java.net.URL), parse(groovy.lang.Script), parse(java.lang.Class), parse(java.lang.String), parse(java.util.Properties)
      at geb.ConfigurationLoader.loadRawConfig(ConfigurationLoader.groovy:295)
  </code></pre>
  
  <p>I figure I need to be missing something small and obvious.  I am using the latest version of Geb (0.7.2) and Groovy 1.8 in Eclipse.</p>