Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos #778

Closed
xj90512 opened this issue Dec 4, 2015 · 1 comment · Fixed by #782
Closed

macos #778

xj90512 opened this issue Dec 4, 2015 · 1 comment · Fixed by #782

Comments

@xj90512
Copy link

xj90512 commented Dec 4, 2015

➜ ~ 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 `

'

@presidentbeef
Copy link
Owner

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants