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

unable to run scenario #63

Closed
neerajnagi opened this issue Mar 1, 2014 · 5 comments
Closed

unable to run scenario #63

neerajnagi opened this issue Mar 1, 2014 · 5 comments

Comments

@neerajnagi
Copy link

[root@ip-172-31-22-46 ~]# sippy_cup -r test.yml
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/sippy_cup-0.3.0/lib/sippy_cup/scenario.rb:47:in from_manifest': undefined methodsafe_load' for Psych:Module (NoMethodError)
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/sippy_cup-0.3.0/bin/sippy_cup:62:in <top (required)>' from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/sippy_cup:23:inload'
from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/sippy_cup:23:in <main>' from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:ineval'
from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `

'

@bklang
Copy link
Member

bklang commented May 22, 2014

I can't reproduce this. I've tried on both Ruby 2.0 and Ruby 2.1. Perhaps your version of libyaml is too old?

@zconkle
Copy link

zconkle commented Aug 29, 2014

I am getting this same error. I reverted back to ruby 1.9.3 and still got the same issue.

@bklang
Copy link
Member

bklang commented Aug 29, 2014

ok, I'm finally able to reproduce this. Looking into it.

@bklang
Copy link
Member

bklang commented Aug 29, 2014

Ok, I found the problem.

According to this Github issue discussion Psych#safe_load was introduced in Psych version 2.0.0. But it doesn't actually show up until Psych version 2.0.1.

I'm fixing this by updating sippy_cup's requirement to use Psych 2.0.1 as a minimum. I'll publish a fixed gem shortly.

@bklang bklang closed this as completed in edf1d0b Aug 29, 2014
@bklang
Copy link
Member

bklang commented Aug 29, 2014

Fixed in version 0.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants