mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Require YAML in gemspec.
Previously, when bundling the database cleaner gem, an error was raised due to YAML not being loaded.
```
Updating https://github.com/DatabaseCleaner/database_cleaner.git
There was a NameError while loading database_cleaner.gemspec:
uninitialized constant YAML from
.../app/vendor/bundle/bundler/gems/database_cleaner-a8157176681a/database_cleaner.gemspec:1:in `<main>'
```
This was introduced in a815717668
. Requiring YAML fixes the issue.
This commit is contained in:
parent
a815717668
commit
7dd550cdb5
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
require 'yaml'
|
||||
|
||||
version = YAML.load_file 'VERSION.yml'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
|
|
Loading…
Reference in a new issue