Hi,
First of all, the book is great super informative. I've just run into one problem that I can't resolve.
I can't get the fig_newton gem to load a .yml
Have created a clean project with testgen, structured as so
project
-config
-environments
local.yml
-features
-step_definitions
-support
-pages
env.rb
hooks.rb
cucumber.yml
etc..
env.rb contains:
require 'rspec'
require 'page-object'
require 'fig_newton'
FigNewton.load('local.yml')
local.yml contains:
base_url: http://localhost:3000
I'm getting an error:
C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/workspace/Ruby/junk/features/support/env.rb
C:/Ruby193/lib/ruby/gems/1.9.1/gems/yml_reader-0.4/lib/yml_reader.rb:27:in `read': No such file or directory - config/environments/local.yml (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/yml_reader-0.4/lib/yml_reader.rb:27:in `load'
Despite checking over and again that local.yml is exactly in the place it can't be found.
Am I missing something incredibly obvious here?