```ruby
require './lib/git.rb'
require './lib/core.rb'
require './lib/github.rb'
require './lib/jenkins.rb'
require './lib/helpers/logger.rb'
require './lib/helpers/repository.rb'
require './lib/helpers/config_file.rb'
require './lib/helpers/pull_requests_data.rb'

while true
  begin
    config = ConfigFile.read
    Core.poll_pull_requests_and_queue_next_job
    sleep config[:github_polling_interval_seconds]
  rescue => e
    Logger.log('Error in main loop', e)
  end
end
```

Modify the load path to include lib/ to simplify requires
user
```ruby
#!/usr/bin/env ruby

require 'pathname'
lib = Pathname.new(__FILE__).parent.join('lib').to_s
$: << lib

require 'git'
require 'core'
require 'github'
require 'jenkins'
require 'helpers/logger'
require 'helpers/repository'
require 'helpers/config_file'
require 'helpers/pull_requests_data'

while true
  begin
    config = ConfigFile.read
    Core.poll_pull_requests_and_queue_next_job
    sleep(config[:github_polling_interval_seconds])
  rescue => e
    Logger.log('Error in main loop', e)
  end
end
```
assistant