forked from rails/rails
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
load and prefer psych as the YAML parser when it is available
- Loading branch information
1 parent
03f0f3c
commit e4594f7
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
begin | ||
require 'psych' | ||
rescue LoadError | ||
end | ||
|
||
require 'yaml' | ||
require 'set' | ||
require 'active_support/benchmarkable' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require 'erb' | ||
|
||
begin | ||
require 'psych' | ||
rescue LoadError | ||
end | ||
|
||
require 'yaml' | ||
require 'csv' | ||
require 'zlib' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require 'erb' | ||
|
||
begin | ||
require 'psych' | ||
rescue LoadError | ||
end | ||
|
||
require 'yaml' | ||
require 'optparse' | ||
require 'rbconfig' | ||
|