You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ ~ brakeman --help
/usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:22:in <class:Date>': uninitialized constant SafeYAML::Parse::Date::DateTime (NameError) from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:3:inclass:Parse'
from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:2:in <module:SafeYAML>' from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:1:in<top (required)>'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:14:in <top (required)>' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/local/lib/ruby/gems/2.2.0/gems/brakeman-3.1.3/lib/brakeman.rb:2:in<top (required)>'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/local/lib/ruby/gems/2.2.0/gems/brakeman-3.1.3/bin/brakeman:5:in <top (required)>' from /usr/local/bin/brakeman:23:inload'
from /usr/local/bin/brakeman:23:in `
'
The text was updated successfully, but these errors were encountered:
I am not sure why this sometimes happens and sometimes doesn't. It's a known issue with safe_yaml but since it doesn't appear to be maintained I've implemented a workaround.
Repository owner
locked and limited conversation to collaborators
Mar 15, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
➜ ~ brakeman --help
'/usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:22:in
<class:Date>': uninitialized constant SafeYAML::Parse::Date::DateTime (NameError) from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:3:in
class:Parse'from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:2:in
<module:SafeYAML>' from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:1:in
<top (required)>'from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require'from /usr/local/lib/ruby/gems/2.2.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:14:in
<top (required)>' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require'from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require' from /usr/local/lib/ruby/gems/2.2.0/gems/brakeman-3.1.3/lib/brakeman.rb:2:in
<top (required)>'from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in
require'from /usr/local/lib/ruby/gems/2.2.0/gems/brakeman-3.1.3/bin/brakeman:5:in
<top (required)>' from /usr/local/bin/brakeman:23:in
load'from /usr/local/bin/brakeman:23:in `
The text was updated successfully, but these errors were encountered: