```ruby
require 'rom'

require 'rom/yaml/version'
require 'rom/yaml/gateway'
require 'rom/yaml/relation'

ROM.register_adapter(:yaml, ROM::YAML)
```

Change require rom to rom-core only
user
```ruby
require 'rom-core'

require 'rom/yaml/version'
require 'rom/yaml/gateway'
require 'rom/yaml/relation'

ROM.register_adapter(:yaml, ROM::YAML)
```
assistant